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. 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-miou-unix
  141. mirage-crypto-rng-mirage >= "0.8.8"
  142. mirage-flow-combinators
  143. mirage-flow-lwt >= "1.4.0"
  144. mirage-flow-unix >= "1.4.0"
  145. mirage-logs
  146. mirage-nat
  147. mirage-net-flow
  148. mirage-net-macosx >= "1.2.0"
  149. mirage-net-solo5 >= "0.2.0"
  150. mirage-net-unix >= "2.6.0"
  151. mirage-net-xen >= "1.7.0"
  152. mirage-qubes >= "0.2"
  153. mirage-qubes-ipv4 < "0.9.4"
  154. mirage-runtime < "4.5.0"
  155. mirage-solo5 >= "0.2.0" & < "0.6.1"
  156. mirage-unix >= "3.0.0" & < "4.0.0"
  157. mirage-vnetif >= "0.4.0"
  158. mirage-vnetif-stack
  159. mirage-xen >= "3.0.0"
  160. mrmime >= "0.5.0"
  161. mrt-format >= "0.3.0"
  162. mssql
  163. multipart_form >= "0.2.0"
  164. multipart_form-eio
  165. multipart_form-lwt
  166. netchannel
  167. nsq >= "0.2.4"
  168. obuilder
  169. ocluster
  170. ocluster-worker
  171. ocplib-simplex >= "0.5"
  172. octez-distributed-lwt-internal
  173. octez-injector
  174. octez-internal-libs
  175. octez-libs
  176. octez-plonk
  177. odig < "0.0.4"
  178. odoc >= "2.0.0" & < "2.1.0"
  179. oidc
  180. omigrate
  181. opam-ci
  182. opam-graph
  183. opium >= "0.17.0"
  184. oskel
  185. owork
  186. ozulip
  187. paf
  188. paf-cohttp
  189. pf-qubes
  190. pgx_lwt >= "1.0"
  191. pgx_lwt_mirage
  192. piaf
  193. ppx_irmin >= "3.0.0"
  194. prometheus-app >= "1.0"
  195. protocol-9p >= "0.5.1"
  196. protocol-9p-tool
  197. protocol-9p-unix
  198. qcow
  199. qcow-format >= "0.4"
  200. qcow-tool
  201. rotor
  202. sendmail >= "0.2.0"
  203. shared-block-ring >= "3.0.0"
  204. soupault < "3.2.0"
  205. spin >= "0.6.0"
  206. spoke
  207. tcpip >= "3.0.0"
  208. tezos-context >= "13.0"
  209. tiny_httpd >= "0.16"
  210. tiny_httpd_camlzip >= "0.16"
  211. tls >= "0.12.0"
  212. toc
  213. topkg-care
  214. twirp_core
  215. u2f
  216. uring
  217. uspf
  218. utop >= "2.10.0"
  219. vendredi
  220. vpnkit
  221. webauthn
  222. win-eventlog
  223. x509 >= "0.11.0"
  224. xapi-stdext-pervasives
  225. yaml

Conflicts (2)

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

Innovation. Community. Security.