package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

logs-0.6.2.tbz
sha256=a320ef34eda51694be23f2a383d83f9ae6a8430fd0ef8cec1fa8c58be5b10bce
md5=19f824c02c83c6dddc3bfb6459e4743e

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 depends only on the result compatibility package. 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: 11 Aug 2016

README

Logs — Logging infrastructure for OCaml

v0.6.2

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 depends only on the result compatibility package. 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
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

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 and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

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

Dependencies (5)

  1. result < "1.5"
  2. topkg build
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.01.0"

Dev Dependencies (1)

  1. mtime with-test

  1. acgtk >= "1.5.0"
  2. albatross
  3. alcotest-lwt
  4. alcotest-mirage
  5. api-watch
  6. arp
  7. arp-mirage
  8. asl >= "0.8"
  9. awa
  10. awa-mirage
  11. aws-config
  12. benchpress
  13. benchpress-server
  14. bos
  15. builder
  16. builder-web
  17. bun >= "0.3.3"
  18. ca-certs >= "0.1.3"
  19. ca-certs-nss
  20. calculon >= "0.6"
  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. compsort
  49. conduit >= "0.14.0" & != "3.0.0"
  50. conduit-lwt-unix >= "2.3.0"
  51. conduit-tls
  52. conex < "0.10.0"
  53. conex-mirage-crypto
  54. conex-nocrypto
  55. craml
  56. current_ocluster
  57. dap
  58. datakit
  59. datakit-bridge-github
  60. datakit-bridge-local-git
  61. datakit-ci
  62. datakit-client < "0.11.0"
  63. datakit-client-9p
  64. datakit-github
  65. datakit-server
  66. distributed-lwt
  67. distributed-uwt
  68. dkim
  69. dkim-bin
  70. dkim-mirage >= "0.2.0"
  71. dns >= "4.0.0"
  72. dns-certify >= "4.4.0"
  73. dns-forward
  74. dnssd
  75. dockerfile-cmd
  76. dog >= "0.2.1"
  77. dolmen_lsp
  78. dream
  79. dream-cli
  80. duff < "0.3"
  81. dune-release
  82. electrod
  83. ethernet
  84. ezxenstore
  85. facteur
  86. functoria >= "2.0.0"
  87. git >= "1.8.0"
  88. git-paf
  89. git-unix >= "1.11.1" & < "2.0.0" | >= "3.0.0"
  90. github-hooks
  91. glicko2
  92. happy-eyeballs
  93. happy-eyeballs-lwt
  94. happy-eyeballs-mirage
  95. horned_worm
  96. http-lwt-client
  97. httpcats
  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.3"
  124. logs-async-reporter < "1.3"
  125. logs-ppx
  126. logs-syslog
  127. lwt-parallel >= "1.0.0"
  128. mdx < "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-miou-unix
  144. mirage-crypto-rng-mirage >= "0.8.8"
  145. mirage-flow-combinators
  146. mirage-flow-lwt >= "1.4.0"
  147. mirage-flow-unix >= "1.4.0"
  148. mirage-logs
  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. obatcher
  172. obuilder
  173. ocluster
  174. ocluster-worker
  175. ocplib-simplex >= "0.5"
  176. octez-distributed-lwt-internal
  177. octez-injector
  178. octez-internal-libs
  179. octez-libs
  180. octez-plonk
  181. odig < "0.0.4"
  182. odoc >= "2.0.0" & < "2.1.0"
  183. oidc
  184. omigrate
  185. opam-ci
  186. opam-graph
  187. opium >= "0.17.0"
  188. oskel
  189. owork
  190. ozulip
  191. paf
  192. paf-cohttp
  193. pf-qubes
  194. pgx_lwt >= "1.0"
  195. pgx_lwt_mirage
  196. piaf
  197. ppx_irmin >= "3.0.0"
  198. prometheus-app >= "1.0"
  199. protocol-9p >= "0.5.1"
  200. protocol-9p-tool
  201. protocol-9p-unix
  202. qcow
  203. qcow-format >= "0.4"
  204. qcow-tool
  205. rotor
  206. sendmail >= "0.2.0"
  207. shared-block-ring >= "3.0.0"
  208. soupault < "3.2.0"
  209. spin >= "0.6.0"
  210. spoke
  211. swapfs
  212. tcpip >= "3.0.0"
  213. tezos-context >= "13.0"
  214. tiny_httpd >= "0.16"
  215. tiny_httpd_camlzip >= "0.16"
  216. tls >= "0.12.0"
  217. toc
  218. topkg-care
  219. twirp_core
  220. u2f
  221. uring
  222. uspf
  223. utop >= "2.10.0"
  224. vendredi
  225. vpnkit
  226. webauthn
  227. win-eventlog
  228. x509 >= "0.11.0"
  229. xapi-stdext-pervasives
  230. yaml

Conflicts (2)

  1. js_of_ocaml >= "3.4.0"
  2. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.