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