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. mimic
  185. miou
  186. mirage >= "4.0.0"
  187. mirage-block-combinators
  188. mirage-block-lwt
  189. mirage-block-unix
  190. mirage-block-xen
  191. mirage-channel >= "4.0.1"
  192. mirage-channel-lwt
  193. mirage-crypto-rng
  194. mirage-crypto-rng-async
  195. mirage-crypto-rng-eio
  196. mirage-crypto-rng-lwt
  197. mirage-crypto-rng-miou-unix
  198. mirage-crypto-rng-mirage
  199. mirage-crypto-rng-mkernel
  200. mirage-flow-combinators
  201. mirage-flow-lwt
  202. mirage-flow-unix
  203. mirage-logs
  204. mirage-monitoring
  205. mirage-nat
  206. mirage-net-macosx >= "1.2.0"
  207. mirage-net-solo5
  208. mirage-net-unikraft
  209. mirage-net-unix
  210. mirage-net-xen
  211. mirage-qubes
  212. mirage-runtime
  213. mirage-vnetif
  214. mirage-xen
  215. mkernel
  216. mlgpx
  217. mqtt
  218. mrmime >= "0.5.0"
  219. mssql
  220. mtbox
  221. multipart_form >= "0.2.0"
  222. multipart_form-eio
  223. multipart_form-lwt
  224. multipart_form-miou
  225. nsq
  226. nx >= "1.0.0~alpha3"
  227. nx-datasets
  228. obatcher
  229. obuilder
  230. ocgtk
  231. ocluster
  232. ocluster-worker
  233. ocplib-simplex >= "0.5"
  234. ocsigenserver >= "7.0.0"
  235. odoc-driver
  236. oenv
  237. oidc
  238. omigrate
  239. opam-ci
  240. opam-graph
  241. opam-repomin
  242. opentelemetry-client-cohttp-eio >= "0.90"
  243. opentelemetry-client-ocurl >= "0.90"
  244. opentelemetry-client-ocurl-lwt
  245. opentelemetry-logs
  246. opium
  247. oskel
  248. owork
  249. ozulip
  250. paf
  251. paf-cohttp
  252. pf-qubes
  253. pgx_lwt
  254. pgx_lwt_mirage
  255. piaf
  256. polymarket
  257. pplumbing < "0.0.16"
  258. pplumbing-log
  259. pplumbing-log-cli
  260. ppx_irmin >= "3.0.0"
  261. progress >= "0.2.0"
  262. prometheus-app >= "1.0"
  263. protocol-9p
  264. protocol-9p-tool
  265. protocol-9p-unix
  266. pyro-caml-instruments
  267. qcow
  268. qcow-tool
  269. qcow-types
  270. randii
  271. rdf >= "0.13.0"
  272. rowex
  273. sendmail >= "0.2.0"
  274. shared-block-ring
  275. sihl < "0.2.0" | >= "0.3.0~rc2"
  276. sihl-core
  277. slipshow >= "0.3.0"
  278. smaws-lib
  279. snf_mcp
  280. soupault
  281. spin >= "0.6.0"
  282. spoke
  283. starred_ml
  284. statocaml
  285. stem
  286. stk
  287. stk_iconv
  288. stog >= "0.20.0"
  289. swapfs
  290. syslog-rfc5424 < "0.2"
  291. tar-unix >= "3.5.0"
  292. tcpip
  293. testcontainers
  294. timmy-lwt
  295. tiny_httpd >= "0.16"
  296. tiny_httpd_camlzip >= "0.16"
  297. tiny_httpd_eio
  298. tls >= "0.12.8"
  299. tls-eio >= "0.17.5"
  300. toc
  301. topkg-care
  302. twirp_core
  303. um-abt
  304. uring
  305. uspf
  306. utcp
  307. utop >= "2.10.0"
  308. vendredi
  309. wayland
  310. webauthn
  311. win-eventlog
  312. x509 >= "0.11.2"
  313. xapi-stdext-pervasives
  314. xtmpl >= "1.0.0"
  315. yaml
  316. yocaml >= "2.4.0"
  317. yocaml_runtime
  318. 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"