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