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. mgit
  200. migra
  201. mimic
  202. miou
  203. mirage >= "4.0.0"
  204. mirage-block-combinators
  205. mirage-block-lwt
  206. mirage-block-unix
  207. mirage-block-xen
  208. mirage-channel >= "4.0.1"
  209. mirage-channel-lwt
  210. mirage-crypto-rng
  211. mirage-crypto-rng-async
  212. mirage-crypto-rng-eio
  213. mirage-crypto-rng-lwt
  214. mirage-crypto-rng-miou-unix
  215. mirage-crypto-rng-mirage
  216. mirage-crypto-rng-mkernel
  217. mirage-flow-combinators
  218. mirage-flow-lwt
  219. mirage-flow-unix
  220. mirage-logs
  221. mirage-monitoring
  222. mirage-nat
  223. mirage-net-macosx >= "1.2.0"
  224. mirage-net-solo5
  225. mirage-net-unikraft
  226. mirage-net-unix
  227. mirage-net-xen
  228. mirage-qubes
  229. mirage-runtime
  230. mirage-vnetif
  231. mirage-xen
  232. mkernel
  233. mlgpx
  234. mnet >= "0.0.5"
  235. mnet-cli >= "0.0.5"
  236. mnet-dhcp
  237. mqtt
  238. mrmime >= "0.5.0"
  239. mssql
  240. mtbox
  241. multipart_form >= "0.2.0"
  242. multipart_form-eio
  243. multipart_form-lwt
  244. multipart_form-miou
  245. neodriver_core >= "0.9.0"
  246. nsq
  247. nx >= "1.0.0~alpha3"
  248. nx-datasets
  249. obatcher
  250. obuilder
  251. ocgtk < "0.1~preview2"
  252. ocluster
  253. ocluster-worker
  254. ocplib-simplex >= "0.5"
  255. ocsigenserver >= "7.0.0"
  256. ocsipersist-dbm >= "2.1.0"
  257. ocsipersist-pgsql >= "2.1.0"
  258. ocsipersist-sqlite >= "2.1.0"
  259. odoc-driver
  260. oenv
  261. oidc
  262. omigrate
  263. opam-ci
  264. opam-graph
  265. opam-minver
  266. opam-repomin
  267. opentelemetry-client-cohttp-eio >= "0.90"
  268. opentelemetry-client-ocurl >= "0.90"
  269. opentelemetry-client-ocurl-lwt
  270. opentelemetry-logs
  271. opium
  272. oskel
  273. owork
  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. slipshow >= "0.3.0"
  305. smaws-lib
  306. snf_mcp
  307. soupault
  308. spin >= "0.6.0"
  309. spoke
  310. starred_ml
  311. statocaml
  312. stem
  313. stk
  314. stk_iconv
  315. stog >= "0.20.0"
  316. swapfs
  317. syslog-rfc5424 < "0.2"
  318. tar-unix >= "3.5.0"
  319. tcpip
  320. testcontainers
  321. timmy-lwt
  322. tiny_httpd >= "0.16"
  323. tiny_httpd_camlzip >= "0.16"
  324. tiny_httpd_eio
  325. tiny_libs
  326. tls >= "0.12.8"
  327. tls-eio >= "0.17.5"
  328. toc
  329. topkg-care
  330. twirp_core
  331. um-abt
  332. unic
  333. uniq
  334. uring
  335. uspf
  336. utcp
  337. utop >= "2.10.0"
  338. vendredi
  339. verdict
  340. wayland
  341. webauthn
  342. websocket-lwt-unix >= "2.18"
  343. win-eventlog
  344. x509 >= "0.11.2"
  345. xapi-stdext-pervasives
  346. xtmpl >= "1.0.0"
  347. yaml
  348. yocaml >= "2.4.0"
  349. yocaml_runtime
  350. 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 6e2873f. 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