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. mdx
  167. mehari
  168. mehari-eio
  169. memtrace_viewer < "v0.15.0"
  170. metrics-lwt >= "0.2.0"
  171. metrics-mirage
  172. metrics-rusage
  173. mimic
  174. miou
  175. mirage >= "3.1.1"
  176. mirage-block-combinators
  177. mirage-block-lwt
  178. mirage-block-unix
  179. mirage-block-xen
  180. mirage-channel >= "4.0.1"
  181. mirage-channel-lwt
  182. mirage-crypto-rng >= "0.8.0"
  183. mirage-crypto-rng-async
  184. mirage-crypto-rng-eio
  185. mirage-crypto-rng-lwt
  186. mirage-crypto-rng-miou-unix
  187. mirage-crypto-rng-mirage >= "0.8.8"
  188. mirage-flow-combinators
  189. mirage-flow-lwt >= "1.4.0"
  190. mirage-flow-unix >= "1.5.0"
  191. mirage-logs
  192. mirage-monitoring
  193. mirage-nat
  194. mirage-net-flow
  195. mirage-net-macosx >= "1.2.0"
  196. mirage-net-solo5
  197. mirage-net-unix >= "2.6.0"
  198. mirage-net-xen
  199. mirage-qubes
  200. mirage-qubes-ipv4 < "0.9.5"
  201. mirage-runtime
  202. mirage-solo5 < "0.6.1"
  203. mirage-unix < "4.0.0"
  204. mirage-vnetif >= "0.4.0"
  205. mirage-vnetif-stack
  206. mirage-xen
  207. mqtt
  208. mrmime >= "0.5.0"
  209. mssql
  210. multipart_form >= "0.2.0"
  211. multipart_form-eio
  212. multipart_form-lwt
  213. netchannel
  214. nsq
  215. obatcher
  216. obuilder
  217. ocluster
  218. ocluster-worker
  219. ocplib-simplex >= "0.5"
  220. octez-distributed-lwt-internal
  221. octez-injector
  222. octez-internal-libs
  223. octez-libs
  224. octez-plonk
  225. odig < "0.0.4"
  226. odoc >= "2.0.0" & < "2.1.0"
  227. odoc-driver
  228. oidc
  229. omigrate
  230. opam-ci
  231. opam-graph
  232. opium
  233. oskel
  234. owork
  235. ozulip
  236. paf
  237. paf-cohttp
  238. pf-qubes
  239. pgx_lwt >= "1.0"
  240. pgx_lwt_mirage
  241. piaf
  242. pplumbing
  243. ppx_irmin >= "3.0.0"
  244. progress >= "0.2.0"
  245. prometheus-app >= "1.0"
  246. protocol-9p
  247. protocol-9p-tool
  248. protocol-9p-unix
  249. qcow
  250. qcow-tool
  251. randii
  252. rdf >= "0.13.0"
  253. rotor
  254. sendmail >= "0.2.0"
  255. shared-block-ring
  256. sihl < "0.2.0" | >= "0.3.0~rc2"
  257. sihl-core
  258. smaws-lib
  259. soupault
  260. spin >= "0.6.0"
  261. spoke
  262. starred_ml
  263. stk
  264. stk_iconv
  265. stog >= "0.20.0"
  266. swapfs
  267. syslog-rfc5424
  268. tcpip
  269. tezos-context >= "16.0"
  270. timmy-lwt
  271. tiny_httpd >= "0.16"
  272. tiny_httpd_camlzip >= "0.16"
  273. tls >= "0.12.0"
  274. tls-eio >= "0.17.2"
  275. toc
  276. topkg-care
  277. twirp_core
  278. u2f
  279. um-abt
  280. uring
  281. uspf
  282. utop >= "2.10.0"
  283. vendredi
  284. vpnkit
  285. wayland
  286. webauthn
  287. win-eventlog
  288. x509 >= "0.11.0"
  289. xapi-stdext-pervasives
  290. xtmpl >= "1.0.0"
  291. yaml
  292. yocaml_runtime
  293. 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.