package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

logs-0.8.0.tbz
sha512=c34c67b00d6a989a2660204ea70db8521736d6105f15d1ee0ec6287a662798fe5c4d47075c6e7c84f5d5372adb5af5c4c404f79db70d69140af5e0ebbea3b6a5

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.

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

Tags

log system org:erratique

Published: 17 Mar 2025

README

Logs — Logging infrastructure for OCaml

v0.8.0

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.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Sample programs

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

Dependencies (4)

  1. topkg build & >= "1.0.3"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.08.0"

Dev Dependencies (1)

  1. mtime with-test

  1. acgtk
  2. activitypub
  3. albatross
  4. alcotest-lwt
  5. alcotest-mirage
  6. api-watch
  7. arp
  8. arp-mirage
  9. asl >= "0.8"
  10. awa
  11. awa-mirage
  12. aws-config
  13. benchpress
  14. benchpress-server
  15. bos
  16. builder
  17. builder-web
  18. bun >= "0.3.3"
  19. ca-certs >= "0.1.3"
  20. ca-certs-nss
  21. cactus
  22. caisar
  23. calculon >= "0.6"
  24. caldav
  25. camltc
  26. capnp-rpc
  27. capnp-rpc-lwt < "2.0"
  28. capnp-rpc-mirage
  29. capnp-rpc-net
  30. capnp-rpc-unix
  31. caqti >= "0.11.0"
  32. caqti-async >= "2.1.1"
  33. caqti-eio
  34. caqti-lwt
  35. caqti-mirage
  36. carton
  37. carton-git
  38. carton-lwt < "1.0.0"
  39. carton-miou-unix
  40. catapult-daemon
  41. chamelon
  42. chamelon-unix
  43. chamo
  44. charrua-client >= "1.3.0"
  45. charrua-client-lwt
  46. charrua-client-mirage
  47. charrua-unix >= "2.0.0"
  48. cmdtui-lambda-term
  49. cohttp >= "6.0.0~beta2"
  50. cohttp-async
  51. cohttp-eio >= "6.0.0"
  52. cohttp-lwt >= "2.0.0"
  53. cohttp-lwt-jsoo >= "4.1.1"
  54. cohttp-lwt-unix
  55. colibrics
  56. colombe < "0.2.0"
  57. commons >= "1.8.0"
  58. compsort
  59. conduit
  60. conduit-lwt-unix >= "2.3.0"
  61. conex < "0.10.0"
  62. conex-mirage-crypto
  63. conex-nocrypto
  64. craml
  65. css
  66. current >= "0.6"
  67. current-albatross-deployer
  68. current_docker >= "0.4"
  69. current_examples >= "0.4"
  70. current_git >= "0.4"
  71. current_github >= "0.4"
  72. current_gitlab
  73. current_ocluster
  74. current_rpc >= "0.4"
  75. current_slack >= "0.4"
  76. current_web >= "0.4"
  77. dap
  78. datakit-server
  79. diffast-git-cli
  80. diskuvbox
  81. distributed-lwt
  82. distributed-uwt
  83. dkim
  84. dkim-bin
  85. dkim-mirage >= "0.2.0"
  86. dkml-install-installer < "0.5.1"
  87. dkml-install-runner
  88. dns >= "4.0.0"
  89. dns-certify >= "4.4.0"
  90. dns-cli
  91. dns-client < "7.0.0"
  92. dns-forward
  93. dns-server >= "8.0.0"
  94. dnssd
  95. dnssec
  96. dockerfile-cmd
  97. docteur
  98. docteur-unix
  99. dolmen_lsp
  100. dream
  101. dream-cli
  102. duff < "0.3"
  103. dune-release
  104. dunolint
  105. earlybird
  106. eio_linux
  107. electrod
  108. elm_playground_native
  109. ethernet
  110. facteur
  111. functoria
  112. git < "3.0.0" | >= "3.2.0"
  113. git-cohttp
  114. git-cohttp-mirage
  115. git-cohttp-unix
  116. git-mirage >= "3.0.0"
  117. git-paf
  118. git-unix >= "3.0.0"
  119. github-hooks
  120. glicko2
  121. guardian
  122. happy-eyeballs
  123. happy-eyeballs-lwt
  124. happy-eyeballs-miou-unix
  125. happy-eyeballs-mirage
  126. horned_worm
  127. http-lwt-client
  128. httpcats
  129. hvsock
  130. index < "1.6.1"
  131. index-bench >= "1.4.0"
  132. irc-client >= "0.7.0"
  133. irmin
  134. irmin-bench
  135. irmin-chunk >= "2.3.0"
  136. irmin-cli
  137. irmin-client
  138. irmin-fs >= "2.3.0"
  139. irmin-git >= "2.3.0"
  140. irmin-graphql >= "2.5.0"
  141. irmin-http >= "2.3.0"
  142. irmin-layers
  143. irmin-mem >= "2.3.0"
  144. irmin-pack >= "2.3.0"
  145. irmin-server
  146. irmin-test >= "2.3.0"
  147. irmin-unix >= "2.3.0"
  148. irmin-watcher
  149. jupyter
  150. jupyter-kernel >= "0.6"
  151. kappa-library
  152. kmt
  153. lambda-runtime
  154. lambda-term >= "3.3.1"
  155. ldp
  156. letsencrypt
  157. letsencrypt-app
  158. letsencrypt-dns
  159. linol >= "0.3"
  160. logs-async
  161. logs-async-reporter
  162. logs-ppx
  163. logs-syslog
  164. lwt-parallel
  165. MlFront_Cli
  166. MlFront_Errors
  167. mdx
  168. mehari
  169. mehari-eio
  170. memtrace_viewer < "v0.15.0"
  171. metrics-lwt >= "0.2.0"
  172. metrics-mirage
  173. metrics-rusage
  174. mimic
  175. miou
  176. mirage >= "3.1.1"
  177. mirage-block-combinators
  178. mirage-block-lwt
  179. mirage-block-unix
  180. mirage-block-xen
  181. mirage-channel >= "4.0.1"
  182. mirage-channel-lwt
  183. mirage-crypto-rng >= "0.8.0"
  184. mirage-crypto-rng-async
  185. mirage-crypto-rng-eio
  186. mirage-crypto-rng-lwt
  187. mirage-crypto-rng-miou-unix
  188. mirage-crypto-rng-mirage >= "0.8.8"
  189. mirage-flow-combinators
  190. mirage-flow-lwt >= "1.4.0"
  191. mirage-flow-unix >= "1.5.0"
  192. mirage-logs
  193. mirage-monitoring
  194. mirage-nat
  195. mirage-net-flow
  196. mirage-net-macosx >= "1.2.0"
  197. mirage-net-solo5
  198. mirage-net-unix >= "2.6.0"
  199. mirage-net-xen
  200. mirage-qubes
  201. mirage-qubes-ipv4 < "0.9.5"
  202. mirage-runtime
  203. mirage-solo5 < "0.6.1"
  204. mirage-unix < "4.0.0"
  205. mirage-vnetif >= "0.4.0"
  206. mirage-vnetif-stack
  207. mirage-xen
  208. mqtt
  209. mrmime >= "0.5.0"
  210. mssql
  211. multipart_form >= "0.2.0"
  212. multipart_form-eio
  213. multipart_form-lwt
  214. netchannel
  215. nsq
  216. obatcher
  217. obuilder
  218. ocluster
  219. ocluster-worker
  220. ocplib-simplex >= "0.5"
  221. octez-distributed-lwt-internal
  222. octez-injector
  223. octez-internal-libs
  224. octez-libs
  225. octez-plonk
  226. odig < "0.0.4"
  227. odoc >= "2.0.0" & < "2.1.0"
  228. odoc-driver
  229. oidc
  230. omigrate
  231. opam-ci
  232. opam-graph
  233. opium
  234. oskel
  235. owork
  236. ozulip
  237. paf
  238. paf-cohttp
  239. pf-qubes
  240. pgx_lwt >= "1.0"
  241. pgx_lwt_mirage
  242. piaf
  243. pplumbing
  244. ppx_irmin >= "3.0.0"
  245. progress >= "0.2.0"
  246. prometheus-app >= "1.0"
  247. protocol-9p
  248. protocol-9p-tool
  249. protocol-9p-unix
  250. qcow
  251. qcow-tool
  252. randii
  253. rdf >= "0.13.0"
  254. rotor
  255. sendmail >= "0.2.0"
  256. shared-block-ring
  257. sihl < "0.2.0" | >= "0.3.0~rc2"
  258. sihl-core
  259. smaws-lib
  260. soupault
  261. spin >= "0.6.0"
  262. spoke
  263. starred_ml
  264. stk
  265. stk_iconv
  266. stog >= "0.20.0"
  267. swapfs
  268. syslog-rfc5424
  269. tcpip
  270. tezos-context >= "16.0"
  271. timmy-lwt
  272. tiny_httpd >= "0.16"
  273. tiny_httpd_camlzip >= "0.16"
  274. tls >= "0.12.0"
  275. tls-eio >= "0.17.2"
  276. toc
  277. topkg-care
  278. twirp_core
  279. u2f
  280. um-abt
  281. uring
  282. uspf
  283. utop >= "2.10.0"
  284. vendredi
  285. vpnkit
  286. wayland
  287. webauthn
  288. win-eventlog
  289. x509 >= "0.11.0"
  290. xapi-stdext-pervasives
  291. xtmpl >= "1.0.0"
  292. yaml
  293. yocaml_runtime
  294. yocaml_unix < "2.0.0"

Conflicts (3)

  1. fmt < "0.9.0"
  2. js_of_ocaml-compiler < "5.5.0"
  3. cmdliner < "1.3.0"
OCaml

Innovation. Community. Security.