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