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-resolver >= "10.1.0"
  95. dns-server >= "8.0.0"
  96. dnssd
  97. dnssec
  98. dockerfile-cmd
  99. docteur
  100. docteur-unix
  101. dolmen_lsp
  102. dream
  103. dream-cli
  104. duff < "0.3"
  105. dune-release
  106. dunolint
  107. earlybird
  108. eio_linux
  109. electrod
  110. elm_playground_native
  111. ethernet
  112. facteur
  113. functoria
  114. git < "3.0.0" | >= "3.2.0"
  115. git-cohttp
  116. git-cohttp-mirage
  117. git-cohttp-unix
  118. git-mirage >= "3.0.0"
  119. git-paf
  120. git-unix >= "3.0.0"
  121. github-hooks
  122. glicko2
  123. guardian
  124. happy-eyeballs
  125. happy-eyeballs-lwt
  126. happy-eyeballs-miou-unix
  127. happy-eyeballs-mirage
  128. horned_worm
  129. http-lwt-client
  130. httpcats
  131. hvsock
  132. index < "1.6.1"
  133. index-bench >= "1.4.0"
  134. irc-client >= "0.7.0"
  135. irmin
  136. irmin-bench
  137. irmin-chunk >= "2.3.0"
  138. irmin-cli
  139. irmin-client
  140. irmin-fs >= "2.3.0"
  141. irmin-git >= "2.3.0"
  142. irmin-graphql >= "2.5.0"
  143. irmin-http >= "2.3.0"
  144. irmin-layers
  145. irmin-mem >= "2.3.0"
  146. irmin-pack >= "2.3.0"
  147. irmin-server
  148. irmin-test >= "2.3.0"
  149. irmin-unix >= "2.3.0"
  150. irmin-watcher
  151. jupyter
  152. jupyter-kernel >= "0.6"
  153. kappa-library
  154. kmt
  155. lambda-runtime
  156. lambda-term >= "3.3.1"
  157. ldp
  158. letsencrypt
  159. letsencrypt-app
  160. letsencrypt-dns
  161. linol >= "0.3"
  162. logs-async
  163. logs-async-reporter
  164. logs-ppx
  165. logs-syslog
  166. lwt-parallel
  167. MlFront_Cli < "2.3.1"
  168. MlFront_Errors
  169. MlFront_Logs
  170. mdx
  171. mehari
  172. mehari-eio
  173. memtrace_viewer < "v0.15.0"
  174. metrics-lwt >= "0.2.0"
  175. metrics-mirage
  176. metrics-rusage
  177. mimic
  178. miou
  179. mirage >= "3.1.1"
  180. mirage-block-combinators
  181. mirage-block-lwt
  182. mirage-block-unix
  183. mirage-block-xen
  184. mirage-channel >= "4.0.1"
  185. mirage-channel-lwt
  186. mirage-crypto-rng >= "0.8.0"
  187. mirage-crypto-rng-async
  188. mirage-crypto-rng-eio
  189. mirage-crypto-rng-lwt
  190. mirage-crypto-rng-miou-unix
  191. mirage-crypto-rng-mirage >= "0.8.8"
  192. mirage-flow-combinators
  193. mirage-flow-lwt >= "1.4.0"
  194. mirage-flow-unix >= "1.5.0"
  195. mirage-logs
  196. mirage-monitoring
  197. mirage-nat
  198. mirage-net-flow
  199. mirage-net-macosx >= "1.2.0"
  200. mirage-net-solo5
  201. mirage-net-unix >= "2.6.0"
  202. mirage-net-xen
  203. mirage-qubes
  204. mirage-qubes-ipv4 < "0.9.5"
  205. mirage-runtime
  206. mirage-solo5 < "0.6.1"
  207. mirage-unix < "4.0.0"
  208. mirage-vnetif >= "0.4.0"
  209. mirage-vnetif-stack
  210. mirage-xen
  211. mqtt
  212. mrmime >= "0.5.0"
  213. mssql
  214. multipart_form >= "0.2.0"
  215. multipart_form-eio
  216. multipart_form-lwt
  217. netchannel
  218. nsq
  219. obatcher
  220. obuilder
  221. ocluster
  222. ocluster-worker
  223. ocplib-simplex >= "0.5"
  224. octez-distributed-lwt-internal
  225. octez-injector
  226. octez-internal-libs
  227. octez-libs
  228. octez-plonk
  229. odig < "0.0.4"
  230. odoc >= "2.0.0" & < "2.1.0"
  231. odoc-driver
  232. oidc
  233. omigrate
  234. opam-ci
  235. opam-graph
  236. opium
  237. oskel
  238. owork
  239. ozulip
  240. paf
  241. paf-cohttp
  242. pf-qubes
  243. pgx_lwt >= "1.0"
  244. pgx_lwt_mirage
  245. piaf
  246. pplumbing
  247. ppx_irmin >= "3.0.0"
  248. progress >= "0.2.0"
  249. prometheus-app >= "1.0"
  250. protocol-9p
  251. protocol-9p-tool
  252. protocol-9p-unix
  253. qcow
  254. qcow-tool
  255. randii
  256. rdf >= "0.13.0"
  257. rotor
  258. sendmail >= "0.2.0"
  259. shared-block-ring
  260. sihl < "0.2.0" | >= "0.3.0~rc2"
  261. sihl-core
  262. smaws-lib
  263. soupault
  264. spin >= "0.6.0"
  265. spoke
  266. starred_ml
  267. stk
  268. stk_iconv
  269. stog >= "0.20.0"
  270. swapfs
  271. syslog-rfc5424
  272. tcpip
  273. tezos-context >= "16.0"
  274. timmy-lwt
  275. tiny_httpd >= "0.16"
  276. tiny_httpd_camlzip >= "0.16"
  277. tls >= "0.12.0"
  278. tls-eio >= "0.17.2"
  279. toc
  280. topkg-care
  281. twirp_core
  282. u2f
  283. um-abt
  284. uring
  285. uspf
  286. utop >= "2.10.0"
  287. vendredi
  288. vpnkit
  289. wayland
  290. webauthn
  291. win-eventlog
  292. x509 >= "0.11.0"
  293. xapi-stdext-pervasives
  294. xtmpl >= "1.0.0"
  295. yaml
  296. yocaml_runtime
  297. 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.