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-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-paf
  135. git-unix >= "3.2.0"
  136. github-hooks
  137. glicko2
  138. guardian
  139. happy-eyeballs
  140. happy-eyeballs-lwt
  141. happy-eyeballs-miou-unix
  142. happy-eyeballs-mirage
  143. http-lwt-client
  144. httpcats
  145. hvsock
  146. index < "1.6.1"
  147. index-bench >= "1.4.0"
  148. irc-client >= "0.7.0"
  149. irky
  150. irky-eio
  151. irmin
  152. irmin-bench
  153. irmin-chunk
  154. irmin-cli
  155. irmin-client
  156. irmin-fs
  157. irmin-git
  158. irmin-graphql
  159. irmin-http
  160. irmin-layers
  161. irmin-pack
  162. irmin-server
  163. irmin-test
  164. irmin-unix
  165. irmin-watcher
  166. jupyter
  167. jupyter-kernel >= "0.6"
  168. kappa-library
  169. kaun < "1.0.0~alpha3"
  170. kmt
  171. lambda-term >= "3.3.1"
  172. ldp
  173. letsencrypt
  174. letsencrypt-app
  175. letsencrypt-dns
  176. linol >= "0.3"
  177. logs-async < "1.4"
  178. logs-async-reporter < "1.4"
  179. logs-ppx
  180. logs-syslog
  181. lwt-parallel
  182. MlFront_Cli < "2.3.1"
  183. MlFront_Codept
  184. MlFront_Errors
  185. MlFront_Logs
  186. MlFront_Tools
  187. mcrunch
  188. mdx
  189. mehari
  190. mehari-eio
  191. memtrace_viewer < "v0.15.0"
  192. metrics-lwt
  193. metrics-rusage
  194. mfat
  195. mfetch
  196. migra
  197. mimic
  198. miou
  199. mirage >= "4.0.0"
  200. mirage-block-combinators
  201. mirage-block-lwt
  202. mirage-block-unix
  203. mirage-block-xen
  204. mirage-channel >= "4.0.1"
  205. mirage-channel-lwt
  206. mirage-crypto-rng
  207. mirage-crypto-rng-async
  208. mirage-crypto-rng-eio
  209. mirage-crypto-rng-lwt
  210. mirage-crypto-rng-miou-unix
  211. mirage-crypto-rng-mirage
  212. mirage-crypto-rng-mkernel
  213. mirage-flow-combinators
  214. mirage-flow-lwt
  215. mirage-flow-unix
  216. mirage-logs
  217. mirage-monitoring
  218. mirage-nat
  219. mirage-net-macosx >= "1.2.0"
  220. mirage-net-solo5
  221. mirage-net-unikraft
  222. mirage-net-unix
  223. mirage-net-xen
  224. mirage-qubes
  225. mirage-runtime
  226. mirage-vnetif
  227. mirage-xen
  228. mkernel
  229. mlgpx
  230. mnet >= "0.0.5"
  231. mnet-cli >= "0.0.5"
  232. mnet-dhcp
  233. mqtt
  234. mrmime >= "0.5.0"
  235. mssql
  236. mtbox
  237. multipart_form >= "0.2.0"
  238. multipart_form-eio
  239. multipart_form-lwt
  240. multipart_form-miou
  241. neodriver_core >= "0.9.0"
  242. nsq
  243. nx >= "1.0.0~alpha3"
  244. nx-datasets
  245. obatcher
  246. obuilder
  247. ocgtk < "0.1~preview2"
  248. ocluster
  249. ocluster-worker
  250. ocplib-simplex >= "0.5"
  251. ocsigenserver >= "7.0.0"
  252. ocsipersist-dbm >= "2.1.0"
  253. ocsipersist-pgsql >= "2.1.0"
  254. ocsipersist-sqlite >= "2.1.0"
  255. odoc-driver
  256. oenv
  257. oidc
  258. omigrate
  259. opam-ci
  260. opam-graph
  261. opam-minver
  262. opam-repomin
  263. opentelemetry-client-cohttp-eio >= "0.90"
  264. opentelemetry-client-ocurl >= "0.90"
  265. opentelemetry-client-ocurl-lwt
  266. opentelemetry-logs
  267. opium
  268. oskel
  269. owork
  270. ozulip
  271. paf
  272. paf-cohttp
  273. pf-qubes
  274. pgx_lwt
  275. pgx_lwt_mirage
  276. piaf
  277. polymarket
  278. pplumbing < "0.0.16"
  279. pplumbing-log
  280. pplumbing-log-cli
  281. ppx_irmin >= "3.0.0"
  282. progress >= "0.2.0"
  283. prometheus-app >= "1.0" & < "2.0"
  284. prometheus-reporter
  285. protocol-9p
  286. protocol-9p-tool
  287. protocol-9p-unix
  288. pyro-caml-instruments
  289. qcow
  290. qcow-tool
  291. qcow-types
  292. randii
  293. rdf >= "0.13.0"
  294. resource-pooling >= "1.3"
  295. rowex
  296. sendmail >= "0.2.0"
  297. shared-block-ring
  298. sihl < "0.2.0" | >= "0.3.0~rc2"
  299. sihl-core
  300. slipshow >= "0.3.0"
  301. smaws-lib
  302. snf_mcp
  303. soupault
  304. spin >= "0.6.0"
  305. spoke
  306. starred_ml
  307. statocaml
  308. stem
  309. stk
  310. stk_iconv
  311. stog >= "0.20.0"
  312. swapfs
  313. syslog-rfc5424 < "0.2"
  314. tar-unix >= "3.5.0"
  315. tcpip
  316. testcontainers
  317. timmy-lwt
  318. tiny_httpd >= "0.16"
  319. tiny_httpd_camlzip >= "0.16"
  320. tiny_httpd_eio
  321. tiny_libs
  322. tls >= "0.12.8"
  323. tls-eio >= "0.17.5"
  324. toc
  325. topkg-care
  326. twirp_core
  327. um-abt
  328. unic
  329. uniq
  330. uring
  331. uspf
  332. utcp
  333. utop >= "2.10.0"
  334. vendredi
  335. verdict
  336. wayland
  337. webauthn
  338. win-eventlog
  339. x509 >= "0.11.2"
  340. xapi-stdext-pervasives
  341. xtmpl >= "1.0.0"
  342. yaml
  343. yocaml >= "2.4.0"
  344. yocaml_runtime
  345. 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 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