package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

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