package logs

All checked builds pass
  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

Added to opam-repository:

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. 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_linux
  123. electrod
  124. eliom >= "12.0.0"
  125. elm_playground_native
  126. elm_playground_software
  127. ethernet
  128. facteur
  129. forester >= "5.0"
  130. functoria
  131. git
  132. git-cohttp
  133. git-cohttp-unix
  134. git-kv >= "0.2.0"
  135. git-mirage
  136. git-paf
  137. git-unix >= "3.2.0"
  138. github-hooks
  139. glicko2
  140. guardian
  141. happy-eyeballs
  142. happy-eyeballs-lwt
  143. happy-eyeballs-miou-unix
  144. happy-eyeballs-mirage
  145. http-lwt-client
  146. httpcats
  147. hvsock
  148. index < "1.6.1" | >= "1.7.0"
  149. index-bench >= "1.4.0"
  150. irc-client >= "0.7.0"
  151. irky
  152. irky-eio
  153. irmin
  154. irmin-bench
  155. irmin-chunk
  156. irmin-cli
  157. irmin-client
  158. irmin-fs
  159. irmin-git
  160. irmin-graphql
  161. irmin-http
  162. irmin-layers
  163. irmin-pack
  164. irmin-server
  165. irmin-test
  166. irmin-unix
  167. irmin-watcher
  168. jupyter
  169. jupyter-kernel >= "0.6"
  170. kappa-library
  171. kaun < "1.0.0~alpha3"
  172. kmt
  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 < "1.4"
  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 < "0.5"
  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-ci
  262. opam-graph
  263. opam-minver
  264. opam-repomin
  265. opentelemetry-client-cohttp-eio >= "0.90"
  266. opentelemetry-client-ocurl >= "0.90"
  267. opentelemetry-client-ocurl-lwt
  268. opentelemetry-logs
  269. opium
  270. oskel
  271. owork
  272. ozulip
  273. paf
  274. paf-cohttp
  275. pf-qubes
  276. pgx_lwt
  277. pgx_lwt_mirage
  278. piaf
  279. polymarket
  280. pplumbing < "0.0.16"
  281. pplumbing-log
  282. pplumbing-log-cli
  283. ppx_irmin >= "3.0.0"
  284. progress >= "0.2.0"
  285. prometheus-app >= "1.0" & < "2.0"
  286. prometheus-reporter
  287. protocol-9p
  288. protocol-9p-tool
  289. protocol-9p-unix
  290. pyro-caml-instruments
  291. qcow
  292. qcow-tool
  293. qcow-types
  294. randii
  295. rdf >= "0.13.0"
  296. resource-pooling >= "1.3"
  297. rowex
  298. sendmail >= "0.2.0"
  299. shared-block-ring
  300. sihl < "0.2.0" | >= "0.3.0~rc2"
  301. sihl-core
  302. slipshow >= "0.3.0"
  303. smaws-lib
  304. snf_mcp
  305. soupault
  306. spin >= "0.6.0"
  307. spoke
  308. starred_ml
  309. statocaml
  310. stem
  311. stk
  312. stk_iconv
  313. stog >= "0.20.0"
  314. swapfs
  315. syslog-rfc5424 < "0.2"
  316. tar-unix >= "3.5.0"
  317. tcpip
  318. testcontainers
  319. timmy-lwt
  320. tiny_httpd >= "0.16"
  321. tiny_httpd_camlzip >= "0.16"
  322. tiny_httpd_eio
  323. tiny_libs
  324. tls >= "0.12.8"
  325. tls-eio >= "0.17.5"
  326. toc
  327. topkg-care
  328. twirp_core
  329. um-abt
  330. unic
  331. uniq
  332. uring
  333. uspf
  334. utcp
  335. utop >= "2.10.0"
  336. vendredi
  337. verdict
  338. wayland
  339. webauthn
  340. websocket-lwt-unix >= "2.18"
  341. win-eventlog
  342. x509 >= "0.11.2"
  343. xapi-stdext-pervasives
  344. xtmpl >= "1.0.0"
  345. yaml
  346. yocaml >= "2.4.0"
  347. yocaml_runtime
  348. 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 n/a good good good good
0.8.0 (this version) 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