package logs

All checked builds pass
  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

logs-0.10.0.tbz
sha512=122b7a77bd07aee1e0cb8e07e82b195a12528cf015e72fa0dd5afaae26ce04bad9b29f32a6d3bd3547fe522b8a036608785e8adb900e31580a0d555719bbb7e7

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

Added to opam-repository:

README

Logs — Logging infrastructure for OCaml

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

A few tests can be found in the test directory.

Dependencies (4)

  1. topkg build & >= "1.1.0"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.14.0"

Dev Dependencies (1)

  1. mtime with-test

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

Build status

Results of building logs with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.10.0 (this version) n/a good good good good
0.8.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure