package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

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

Conflicts (2)

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