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. boulodrome
  22. builder
  23. builder-web
  24. bun >= "0.3.3"
  25. ca-certs
  26. ca-certs-nss
  27. cachet >= "0.0.4"
  28. cactus
  29. caisar
  30. calculon
  31. caldav
  32. camltc
  33. capnp-rpc
  34. capnp-rpc-lwt < "2.0"
  35. capnp-rpc-net
  36. capnp-rpc-unix
  37. caqti >= "0.11.0"
  38. caqti-async >= "2.1.1"
  39. caqti-eio
  40. caqti-lwt
  41. caqti-miou
  42. caqti-mirage
  43. carton
  44. carton-git
  45. carton-lwt < "1.0.0"
  46. carton-miou
  47. carton-miou-unix
  48. cascade
  49. catala-lsp
  50. catapult-daemon
  51. chamelon
  52. chamelon-unix
  53. chamo
  54. charrua-client
  55. charrua-unix >= "2.0.0"
  56. cmdtui-lambda-term
  57. cohttp >= "6.0.0~beta2"
  58. cohttp-async
  59. cohttp-eio >= "6.0.0"
  60. cohttp-lwt >= "2.1.3"
  61. cohttp-lwt-jsoo >= "5.3.0"
  62. cohttp-lwt-unix
  63. cohttp-lwt-unix-bin
  64. colibrics
  65. colombe < "0.2.0"
  66. commons >= "1.8.0"
  67. compsort
  68. conduit
  69. conduit-lwt-unix >= "2.3.0"
  70. conex < "0.10.0"
  71. conex-mirage-crypto
  72. craml
  73. css
  74. current >= "0.6.2"
  75. current-albatross-deployer
  76. current_docker
  77. current_examples
  78. current_git
  79. current_github
  80. current_gitlab
  81. current_ocluster
  82. current_rpc
  83. current_slack
  84. current_web
  85. dap
  86. datakit-server
  87. deepseek
  88. diffast-git-cli
  89. diskuvbox
  90. distributed-lwt
  91. distributed-uwt
  92. dkim
  93. dkim-bin
  94. dkim-mirage
  95. dkml-install-installer
  96. dkml-install-runner
  97. dmarc
  98. dns >= "4.4.1"
  99. dns-certify
  100. dns-cli
  101. dns-client < "7.0.3"
  102. dns-forward
  103. dns-resolver >= "10.1.0"
  104. dns-server
  105. dnssd
  106. dnssec
  107. dockerfile-cmd
  108. docteur
  109. docteur-unix
  110. dolmen_lsp
  111. dream
  112. dream-cli
  113. duff < "0.3"
  114. dune-release
  115. dunolint
  116. earlybird
  117. eio_linux
  118. electrod
  119. eliom >= "12.0.0"
  120. elm_playground_native
  121. elm_playground_software
  122. ethernet
  123. facteur
  124. forester >= "5.0"
  125. functoria
  126. git
  127. git-cohttp
  128. git-cohttp-unix
  129. git-kv >= "0.2.0"
  130. git-mirage
  131. git-net >= "0.2.4"
  132. git-paf
  133. git-unix >= "3.2.0"
  134. github-hooks
  135. glicko2
  136. guardian
  137. happy-eyeballs
  138. happy-eyeballs-lwt
  139. happy-eyeballs-miou-unix
  140. happy-eyeballs-mirage
  141. http-lwt-client
  142. httpcats
  143. hvsock
  144. index < "1.6.1"
  145. index-bench >= "1.4.0"
  146. irc-client >= "0.7.0"
  147. irky
  148. irky-eio
  149. irmin
  150. irmin-bench
  151. irmin-chunk
  152. irmin-cli
  153. irmin-client
  154. irmin-fs
  155. irmin-git
  156. irmin-graphql
  157. irmin-http
  158. irmin-layers
  159. irmin-pack
  160. irmin-server
  161. irmin-test
  162. irmin-unix
  163. irmin-watcher
  164. jupyter
  165. jupyter-kernel >= "0.6"
  166. kappa-library
  167. kaun < "1.0.0~alpha3"
  168. kmt
  169. lambda-runtime
  170. lambda-term >= "3.3.1"
  171. ldp
  172. letsencrypt
  173. letsencrypt-app
  174. letsencrypt-dns
  175. linol >= "0.3"
  176. logs-async >= "1.4"
  177. logs-async-reporter
  178. logs-ppx
  179. logs-syslog
  180. lwt-parallel
  181. MlFront_Cli < "2.3.1"
  182. MlFront_Codept
  183. MlFront_Errors
  184. MlFront_Logs
  185. MlFront_Tools
  186. mcrunch
  187. mdx
  188. mehari
  189. mehari-eio
  190. memtrace_viewer < "v0.15.0"
  191. metrics-lwt
  192. metrics-rusage
  193. mfat
  194. mfetch
  195. migra
  196. mimic
  197. miou
  198. mirage >= "4.0.0"
  199. mirage-block-combinators
  200. mirage-block-lwt
  201. mirage-block-unix
  202. mirage-block-xen
  203. mirage-channel >= "4.0.1"
  204. mirage-channel-lwt
  205. mirage-crypto-rng
  206. mirage-crypto-rng-async
  207. mirage-crypto-rng-eio
  208. mirage-crypto-rng-lwt
  209. mirage-crypto-rng-miou-unix
  210. mirage-crypto-rng-mirage
  211. mirage-crypto-rng-mkernel
  212. mirage-flow-combinators
  213. mirage-flow-lwt
  214. mirage-flow-unix
  215. mirage-logs
  216. mirage-monitoring
  217. mirage-nat
  218. mirage-net-macosx >= "1.2.0"
  219. mirage-net-solo5
  220. mirage-net-unikraft
  221. mirage-net-unix
  222. mirage-net-xen
  223. mirage-qubes
  224. mirage-runtime
  225. mirage-vnetif
  226. mirage-xen
  227. mkernel
  228. mlgpx
  229. mnet >= "0.0.5"
  230. mnet-cli >= "0.0.5"
  231. mnet-dhcp
  232. mqtt
  233. mrmime >= "0.5.0"
  234. mssql
  235. mtbox
  236. multipart_form >= "0.2.0"
  237. multipart_form-eio
  238. multipart_form-lwt
  239. multipart_form-miou
  240. nsq
  241. nx >= "1.0.0~alpha3"
  242. nx-datasets
  243. obatcher
  244. obuilder
  245. ocgtk < "0.1~preview2"
  246. ocluster
  247. ocluster-worker
  248. ocplib-simplex >= "0.5"
  249. ocsigenserver >= "7.0.0"
  250. ocsipersist-dbm >= "2.1.0"
  251. ocsipersist-pgsql >= "2.1.0"
  252. ocsipersist-sqlite >= "2.1.0"
  253. odoc-driver
  254. oenv
  255. oidc
  256. omigrate
  257. opam-audit
  258. opam-ci
  259. opam-graph
  260. opam-minver
  261. opam-repomin
  262. opentelemetry-client-cohttp-eio >= "0.90"
  263. opentelemetry-client-ocurl >= "0.90"
  264. opentelemetry-client-ocurl-lwt
  265. opentelemetry-logs
  266. opium
  267. oskel
  268. owork
  269. oxbow
  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. simple_httpd_caqti
  301. slipshow >= "0.3.0"
  302. smaws-lib
  303. snf_mcp
  304. soupault
  305. spin >= "0.6.0"
  306. spoke
  307. starred_ml
  308. statocaml
  309. stem
  310. stk
  311. stk_iconv
  312. stog >= "0.20.0"
  313. swapfs
  314. syslog-rfc5424
  315. tally
  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. vif
  339. wayland
  340. webauthn
  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"