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