package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

logs-0.6.3.tbz
md5=370e4c802588f73d0777c59bc414b57b

Description

Logs provides a logging infrastructure for OCaml. Logging is performed on sources whose reporting level can be set independently. Log message report is decoupled from logging and is handled by a reporter.

A few optional log reporters are distributed with the base library and the API easily allows to implement your own.

Logs has no dependencies. The optional Logs_fmt reporter on OCaml formatters depends on Fmt. The optional Logs_browser reporter that reports to the web browser console depends on js_of_ocaml. The optional Logs_cli library that provides command line support for controlling Logs depends on Cmdliner. The optional Logs_lwt library that provides Lwt logging functions depends on Lwt

Logs and its reporters are distributed under the ISC license.

Tags

log system org:erratique

Published: 18 Apr 2019

README

Logs — Logging infrastructure for OCaml

v0.6.3

Logs provides a logging infrastructure for OCaml. Logging is performed on sources whose reporting level can be set independently. Log message report is decoupled from logging and is handled by a reporter.

A few optional log reporters are distributed with the base library and the API easily allows to implement your own.

Logs has no dependencies. The optional Logs_fmt reporter on OCaml formatters depends on Fmt. The optional Logs_browser reporter that reports to the web browser console depends on js_of_ocaml. The optional Logs_cli library that provides command line support for controlling Logs depends on Cmdliner. The optional Logs_lwt library that provides Lwt logging functions depends on Lwt

Logs and its reporters are distributed under the ISC license.

Home page: http://erratique.ch/software/logs

Installation

Logs can be installed with opam:

opam install logs
opam install fmt cmdliner lwt js_of_ocaml logs # Install all opt libraries

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation can be consulted online or via odig doc logs.

Sample programs

If you installed Logs with opam sample programs are located in the directory the directory opam config var logs:doc.

Dependencies (4)

  1. topkg build
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.03.0"

Dev Dependencies (1)

  1. mtime with-test

  1. acgtk >= "1.5.0"
  2. albatross
  3. alcotest-lwt
  4. alcotest-mirage
  5. arp
  6. arp-mirage
  7. asl >= "0.8"
  8. awa
  9. awa-mirage
  10. aws-config
  11. benchpress
  12. benchpress-server
  13. bos
  14. builder
  15. builder-web
  16. bun >= "0.3.3"
  17. ca-certs >= "0.1.3"
  18. ca-certs-nss
  19. calculon >= "0.6"
  20. caldav
  21. camltc >= "0.9.5"
  22. capnp-rpc
  23. capnp-rpc-lwt
  24. capnp-rpc-mirage
  25. capnp-rpc-net
  26. capnp-rpc-unix
  27. caqti >= "0.11.0"
  28. caqti-async >= "2.1.1"
  29. caqti-eio
  30. caqti-lwt >= "0.11.0"
  31. caqti-mirage
  32. carton
  33. chamelon
  34. chamelon-unix
  35. channel >= "1.1.0"
  36. charrua-client < "0.9" | >= "1.3.0"
  37. charrua-client-lwt
  38. charrua-client-mirage
  39. cmdtui-lambda-term
  40. cohttp >= "0.22.0" & < "1.0.0" | >= "6.0.0~beta2"
  41. cohttp-async >= "1.0.0"
  42. cohttp-lwt >= "2.0.0"
  43. cohttp-lwt-jsoo >= "4.1.1"
  44. cohttp-lwt-unix
  45. cohttp-lwt-unix-nossl
  46. cohttp-lwt-unix-ssl
  47. colombe < "0.2.0"
  48. conduit >= "0.14.0" & != "3.0.0"
  49. conduit-lwt-unix >= "2.3.0"
  50. conduit-tls
  51. conex < "0.10.0"
  52. conex-mirage-crypto
  53. conex-nocrypto
  54. craml
  55. current_ocluster
  56. dap
  57. datakit
  58. datakit-bridge-github
  59. datakit-bridge-local-git
  60. datakit-ci
  61. datakit-client < "0.11.0"
  62. datakit-client-9p
  63. datakit-github
  64. datakit-server
  65. distributed-lwt
  66. distributed-uwt
  67. dkim
  68. dkim-bin
  69. dkim-mirage >= "0.2.0"
  70. dns >= "4.0.0"
  71. dns-certify >= "4.4.0"
  72. dns-cli
  73. dns-client < "7.0.0"
  74. dns-forward
  75. dnssd
  76. dockerfile-cmd
  77. dog >= "0.2.1"
  78. dolmen_lsp
  79. dream
  80. dream-cli
  81. duff < "0.3"
  82. dune-release
  83. electrod
  84. ethernet
  85. ezxenstore
  86. facteur
  87. functoria >= "2.0.0"
  88. git >= "1.8.0"
  89. git-paf
  90. git-unix >= "1.11.1" & < "2.0.0" | >= "3.0.0"
  91. github-hooks
  92. glicko2
  93. happy-eyeballs
  94. happy-eyeballs-lwt
  95. happy-eyeballs-mirage
  96. horned_worm
  97. http-lwt-client
  98. hvsock
  99. irc-client >= "0.7.0"
  100. irmin >= "0.11.0"
  101. irmin-bench
  102. irmin-chunk >= "2.3.0"
  103. irmin-cli
  104. irmin-fs >= "2.3.0"
  105. irmin-git >= "2.3.0"
  106. irmin-graphql >= "2.5.0"
  107. irmin-http >= "2.3.0"
  108. irmin-layers
  109. irmin-mem >= "2.3.0"
  110. irmin-pack >= "2.3.0"
  111. irmin-test >= "2.3.0"
  112. irmin-unix >= "2.3.0"
  113. irmin-watcher
  114. jupyter >= "2.3.0"
  115. jupyter-kernel >= "0.6"
  116. kappa-library
  117. lambda-runtime
  118. lambda-term >= "3.3.1"
  119. letsencrypt
  120. letsencrypt-app
  121. letsencrypt-dns
  122. linol >= "0.3"
  123. logs-async = "1.1"
  124. logs-async-reporter < "1.3"
  125. logs-ppx
  126. logs-syslog
  127. lwt-parallel >= "1.0.0"
  128. mdx >= "1.2.0" & < "1.9.0"
  129. metrics-lwt >= "0.2.0"
  130. metrics-mirage
  131. metrics-rusage
  132. mirage >= "2.9.0" & < "4.5.0"
  133. mirage-block-combinators
  134. mirage-block-lwt
  135. mirage-block-unix >= "2.2.0"
  136. mirage-block-xen >= "1.4.0"
  137. mirage-channel >= "4.0.0"
  138. mirage-channel-lwt
  139. mirage-crypto-rng >= "0.7.0"
  140. mirage-crypto-rng-async
  141. mirage-crypto-rng-eio
  142. mirage-crypto-rng-lwt
  143. mirage-crypto-rng-mirage >= "0.8.8"
  144. mirage-flow-combinators
  145. mirage-flow-lwt >= "1.4.0"
  146. mirage-flow-unix >= "1.4.0"
  147. mirage-logs
  148. mirage-monitoring
  149. mirage-nat
  150. mirage-net-flow
  151. mirage-net-macosx >= "1.2.0"
  152. mirage-net-solo5 >= "0.2.0"
  153. mirage-net-unix >= "2.6.0"
  154. mirage-net-xen >= "1.7.0"
  155. mirage-qubes >= "0.2"
  156. mirage-qubes-ipv4 < "0.9.4"
  157. mirage-runtime < "4.5.0"
  158. mirage-solo5 >= "0.2.0" & < "0.6.1"
  159. mirage-unix >= "3.0.0" & < "4.0.0"
  160. mirage-vnetif >= "0.4.0"
  161. mirage-vnetif-stack
  162. mirage-xen >= "3.0.0"
  163. mrmime >= "0.5.0"
  164. mrt-format >= "0.3.0"
  165. mssql
  166. multipart_form >= "0.2.0"
  167. multipart_form-eio
  168. multipart_form-lwt
  169. netchannel
  170. nsq >= "0.2.4"
  171. obuilder
  172. ocluster
  173. ocluster-worker
  174. ocplib-simplex >= "0.5"
  175. octez-distributed-lwt-internal
  176. octez-injector
  177. octez-libs
  178. octez-plonk
  179. odig < "0.0.4"
  180. odoc >= "2.0.0" & < "2.1.0"
  181. oidc
  182. omigrate
  183. opam-ci
  184. opam-graph
  185. opium >= "0.17.0"
  186. oskel
  187. owork
  188. ozulip
  189. paf
  190. paf-cohttp
  191. pf-qubes
  192. pgx_lwt >= "1.0"
  193. pgx_lwt_mirage
  194. piaf
  195. ppx_irmin >= "3.0.0"
  196. prometheus-app >= "1.0"
  197. protocol-9p >= "0.5.1"
  198. protocol-9p-tool
  199. protocol-9p-unix
  200. qcow
  201. qcow-format >= "0.4"
  202. qcow-tool
  203. rotor
  204. sendmail >= "0.2.0"
  205. shared-block-ring >= "3.0.0"
  206. soupault < "3.2.0"
  207. spin >= "0.6.0"
  208. spoke
  209. tcpip >= "3.0.0"
  210. tezos-context >= "13.0"
  211. tiny_httpd >= "0.16"
  212. tiny_httpd_camlzip >= "0.16"
  213. tls >= "0.12.0"
  214. toc
  215. topkg-care
  216. u2f
  217. uring
  218. uspf
  219. utop >= "2.10.0"
  220. vendredi
  221. vpnkit
  222. webauthn
  223. win-eventlog
  224. x509 >= "0.11.0"
  225. xapi-stdext-pervasives
  226. yaml

Conflicts (2)

  1. cmdliner < "0.9.8"
  2. js_of_ocaml < "3.3.0"