package logs

  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. acgtk
  2. activitypub
  3. albatross
  4. alcotest-lwt
  5. alcotest-mirage
  6. anthropic
  7. api-watch
  8. arc >= "0.0.2"
  9. arp
  10. asl >= "0.8"
  11. awa
  12. awa-mirage
  13. aws-config
  14. awskit < "0.2.0"
  15. awskit-eio
  16. awskit-lwt
  17. bancos
  18. bank
  19. bcfg
  20. bos
  21. builder
  22. builder-web
  23. bun >= "0.3.3"
  24. ca-certs
  25. ca-certs-nss
  26. cachet >= "0.0.4"
  27. cactus
  28. caisar
  29. calculon
  30. caldav
  31. camltc
  32. capnp-rpc
  33. capnp-rpc-lwt < "2.0"
  34. capnp-rpc-net
  35. capnp-rpc-unix
  36. caqti >= "0.11.0"
  37. caqti-async >= "2.1.1"
  38. caqti-eio
  39. caqti-lwt
  40. caqti-miou
  41. caqti-mirage
  42. carton
  43. carton-git
  44. carton-lwt < "1.0.0"
  45. carton-miou
  46. carton-miou-unix
  47. cascade
  48. catala-lsp
  49. catapult-daemon
  50. chamelon
  51. chamelon-unix
  52. chamo
  53. charrua-client
  54. charrua-unix >= "2.0.0"
  55. cmdtui-lambda-term
  56. cohttp >= "6.0.0~beta2"
  57. cohttp-async
  58. cohttp-eio >= "6.0.0"
  59. cohttp-lwt >= "2.1.3"
  60. cohttp-lwt-jsoo >= "5.3.0"
  61. cohttp-lwt-unix
  62. cohttp-lwt-unix-bin
  63. colibrics
  64. colombe < "0.2.0"
  65. commons >= "1.8.0"
  66. compsort
  67. conduit
  68. conduit-lwt-unix >= "2.3.0"
  69. conex < "0.10.0"
  70. conex-mirage-crypto
  71. craml
  72. css
  73. current >= "0.6.2"
  74. current-albatross-deployer
  75. current_docker
  76. current_examples
  77. current_git
  78. current_github
  79. current_gitlab
  80. current_ocluster
  81. current_rpc
  82. current_slack
  83. current_web
  84. dap
  85. datakit-server
  86. deepseek
  87. diffast-git-cli
  88. diskuvbox
  89. distributed-lwt
  90. distributed-uwt
  91. dkim
  92. dkim-bin
  93. dkim-mirage
  94. dkml-install-installer
  95. dkml-install-runner
  96. dmarc
  97. dns >= "4.4.1"
  98. dns-certify
  99. dns-cli
  100. dns-client < "7.0.3"
  101. dns-forward
  102. dns-resolver >= "10.1.0"
  103. dns-server
  104. dnssd
  105. dnssec
  106. dockerfile-cmd
  107. docteur
  108. docteur-unix
  109. dolmen_lsp
  110. dream
  111. dream-cli
  112. duff < "0.3"
  113. dune-release
  114. dunolint
  115. earlybird
  116. eio_linux
  117. electrod
  118. eliom >= "12.0.0"
  119. elm_playground_native
  120. ethernet
  121. facteur
  122. forester >= "5.0"
  123. functoria
  124. git
  125. git-cohttp
  126. git-cohttp-unix
  127. git-kv >= "0.2.0"
  128. git-mirage
  129. git-paf
  130. git-unix >= "3.2.0"
  131. github-hooks
  132. glicko2
  133. guardian
  134. happy-eyeballs
  135. happy-eyeballs-lwt
  136. happy-eyeballs-miou-unix
  137. happy-eyeballs-mirage
  138. http-lwt-client
  139. httpcats
  140. hvsock
  141. index < "1.6.1"
  142. index-bench >= "1.4.0"
  143. irc-client >= "0.7.0"
  144. irky
  145. irky-eio
  146. irmin
  147. irmin-bench
  148. irmin-chunk
  149. irmin-cli
  150. irmin-client
  151. irmin-fs
  152. irmin-git
  153. irmin-graphql
  154. irmin-http
  155. irmin-layers
  156. irmin-pack
  157. irmin-server
  158. irmin-test
  159. irmin-unix
  160. irmin-watcher
  161. jupyter
  162. jupyter-kernel >= "0.6"
  163. kappa-library
  164. kaun < "1.0.0~alpha3"
  165. kmt
  166. lambda-runtime
  167. lambda-term >= "3.3.1"
  168. ldp
  169. letsencrypt
  170. letsencrypt-app
  171. letsencrypt-dns
  172. linol >= "0.3"
  173. logs-async >= "1.4"
  174. logs-async-reporter
  175. logs-ppx
  176. logs-syslog
  177. lwt-parallel
  178. MlFront_Cli < "2.3.1"
  179. MlFront_Codept
  180. MlFront_Errors
  181. MlFront_Logs
  182. MlFront_Tools
  183. mcrunch
  184. mdx
  185. mehari
  186. mehari-eio
  187. memtrace_viewer < "v0.15.0"
  188. metrics-lwt
  189. metrics-rusage
  190. mfat
  191. mfetch
  192. migra
  193. mimic
  194. miou
  195. mirage >= "4.0.0"
  196. mirage-block-combinators
  197. mirage-block-lwt
  198. mirage-block-unix
  199. mirage-block-xen
  200. mirage-channel >= "4.0.1"
  201. mirage-channel-lwt
  202. mirage-crypto-rng
  203. mirage-crypto-rng-async
  204. mirage-crypto-rng-eio
  205. mirage-crypto-rng-lwt
  206. mirage-crypto-rng-miou-unix
  207. mirage-crypto-rng-mirage
  208. mirage-crypto-rng-mkernel
  209. mirage-flow-combinators
  210. mirage-flow-lwt
  211. mirage-flow-unix
  212. mirage-logs
  213. mirage-monitoring
  214. mirage-nat
  215. mirage-net-macosx >= "1.2.0"
  216. mirage-net-solo5
  217. mirage-net-unikraft
  218. mirage-net-unix
  219. mirage-net-xen
  220. mirage-qubes
  221. mirage-runtime
  222. mirage-vnetif
  223. mirage-xen
  224. mkernel
  225. mlgpx
  226. mnet >= "0.0.5"
  227. mnet-cli >= "0.0.5"
  228. mnet-dhcp
  229. mqtt
  230. mrmime >= "0.5.0"
  231. mssql
  232. mtbox
  233. multipart_form >= "0.2.0"
  234. multipart_form-eio
  235. multipart_form-lwt
  236. multipart_form-miou
  237. nsq
  238. nx >= "1.0.0~alpha3"
  239. nx-datasets
  240. obatcher
  241. obuilder
  242. ocgtk < "0.1~preview2"
  243. ocluster
  244. ocluster-worker
  245. ocplib-simplex >= "0.5"
  246. ocsigenserver >= "7.0.0"
  247. ocsipersist-dbm >= "2.1.0"
  248. ocsipersist-pgsql >= "2.1.0"
  249. ocsipersist-sqlite >= "2.1.0"
  250. odoc-driver
  251. oenv
  252. oidc
  253. omigrate
  254. opam-audit
  255. opam-ci
  256. opam-graph
  257. opam-minver
  258. opam-repomin
  259. opentelemetry-client-cohttp-eio >= "0.90"
  260. opentelemetry-client-ocurl >= "0.90"
  261. opentelemetry-client-ocurl-lwt
  262. opentelemetry-logs
  263. opium
  264. oskel
  265. owork
  266. oxbow
  267. ozulip
  268. paf
  269. paf-cohttp
  270. pf-qubes
  271. pgx_lwt
  272. pgx_lwt_mirage
  273. piaf
  274. polymarket
  275. pplumbing < "0.0.16"
  276. pplumbing-log
  277. pplumbing-log-cli
  278. ppx_irmin >= "3.0.0"
  279. progress >= "0.2.0"
  280. prometheus-app >= "1.0" & < "2.0"
  281. prometheus-reporter
  282. protocol-9p
  283. protocol-9p-tool
  284. protocol-9p-unix
  285. pyro-caml-instruments
  286. qcow
  287. qcow-tool
  288. qcow-types
  289. randii
  290. rdf >= "0.13.0"
  291. resource-pooling >= "1.3"
  292. rowex
  293. sendmail >= "0.2.0"
  294. shared-block-ring
  295. sihl < "0.2.0" | >= "0.3.0~rc2"
  296. sihl-core
  297. simple_httpd_caqti
  298. slipshow >= "0.3.0"
  299. smaws-lib
  300. snf_mcp
  301. soupault
  302. spin >= "0.6.0"
  303. spoke
  304. starred_ml
  305. statocaml
  306. stem
  307. stk
  308. stk_iconv
  309. stog >= "0.20.0"
  310. swapfs
  311. syslog-rfc5424
  312. tar-unix >= "3.5.0"
  313. tcpip
  314. testcontainers
  315. timmy-lwt
  316. tiny_httpd >= "0.16"
  317. tiny_httpd_camlzip >= "0.16"
  318. tiny_httpd_eio
  319. tls >= "0.12.8"
  320. tls-eio >= "0.17.5"
  321. toc
  322. topkg-care
  323. twirp_core
  324. um-abt
  325. unic
  326. uniq
  327. uring
  328. uspf
  329. utcp
  330. utop >= "2.10.0"
  331. vendredi
  332. vif
  333. wayland
  334. webauthn
  335. win-eventlog
  336. x509 >= "0.11.2"
  337. xapi-stdext-pervasives
  338. xtmpl >= "1.0.0"
  339. yaml
  340. yocaml >= "2.4.0"
  341. yocaml_runtime
  342. 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"