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. 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. awa
  13. awa-mirage
  14. aws-config
  15. awskit < "0.2.0"
  16. awskit-eio
  17. awskit-lwt
  18. bancos
  19. bank
  20. bcfg
  21. bos
  22. boulodrome
  23. builder
  24. builder-web
  25. bun >= "0.3.3"
  26. ca-certs
  27. ca-certs-nss
  28. cachet >= "0.0.4"
  29. cactus
  30. caisar
  31. calculon
  32. caldav
  33. camltc
  34. capnp-rpc
  35. capnp-rpc-lwt < "2.0"
  36. capnp-rpc-net
  37. capnp-rpc-unix
  38. caqti >= "0.11.0"
  39. caqti-async >= "2.1.1"
  40. caqti-eio
  41. caqti-lwt
  42. caqti-miou
  43. caqti-mirage
  44. carton
  45. carton-git
  46. carton-lwt < "1.0.0"
  47. carton-miou
  48. carton-miou-unix
  49. cascade
  50. catala-lsp
  51. catapult-daemon
  52. chamelon
  53. chamelon-unix
  54. chamo
  55. charrua-client
  56. charrua-unix >= "2.0.0"
  57. cmdtui-lambda-term
  58. cohttp >= "6.0.0~beta2"
  59. cohttp-async
  60. cohttp-eio >= "6.0.0"
  61. cohttp-lwt >= "2.1.3"
  62. cohttp-lwt-jsoo >= "5.3.0"
  63. cohttp-lwt-unix
  64. cohttp-lwt-unix-bin
  65. colibrics
  66. colombe < "0.2.0"
  67. commons >= "1.8.0"
  68. compsort
  69. conduit
  70. conduit-lwt-unix >= "2.3.0"
  71. conex < "0.10.0"
  72. conex-mirage-crypto
  73. console-eio
  74. craml
  75. css
  76. current >= "0.6.2"
  77. current-albatross-deployer
  78. current_docker
  79. current_examples
  80. current_git
  81. current_github
  82. current_gitlab
  83. current_ocluster
  84. current_rpc
  85. current_slack
  86. current_web
  87. dap
  88. datakit-server
  89. deepseek
  90. diffast-git-cli
  91. diskuvbox
  92. distributed-lwt
  93. distributed-uwt
  94. dkim
  95. dkim-bin
  96. dkim-mirage
  97. dkml-install-installer
  98. dkml-install-runner
  99. dmarc
  100. dns >= "4.4.1"
  101. dns-certify
  102. dns-cli
  103. dns-client < "7.0.3"
  104. dns-forward
  105. dns-resolver >= "10.1.0"
  106. dns-server
  107. dnssd
  108. dnssec
  109. dockerfile-cmd
  110. docteur
  111. docteur-unix
  112. dolmen_lsp
  113. dream
  114. dream-cli
  115. duff < "0.3"
  116. dune-release
  117. dunolint
  118. earlybird
  119. eio_linux
  120. electrod
  121. eliom >= "12.0.0"
  122. elm_playground_native
  123. elm_playground_software
  124. ethernet
  125. facteur
  126. forester >= "5.0"
  127. functoria
  128. git
  129. git-cohttp
  130. git-cohttp-unix
  131. git-kv >= "0.2.0"
  132. git-mirage
  133. git-net >= "0.2.4"
  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-runtime
  172. lambda-term >= "3.3.1"
  173. ldp
  174. letsencrypt
  175. letsencrypt-app
  176. letsencrypt-dns
  177. linol >= "0.3"
  178. logs-async >= "1.4"
  179. logs-async-reporter
  180. logs-ppx
  181. logs-syslog
  182. lwt-parallel
  183. MlFront_Cli < "2.3.1"
  184. MlFront_Codept
  185. MlFront_Errors
  186. MlFront_Logs
  187. MlFront_Tools
  188. mcrunch
  189. mdx
  190. mehari
  191. mehari-eio
  192. memtrace_viewer < "v0.15.0"
  193. metrics-lwt
  194. metrics-rusage
  195. mfat
  196. mfetch
  197. migra
  198. mimic
  199. miou
  200. mirage >= "4.0.0"
  201. mirage-block-combinators
  202. mirage-block-lwt
  203. mirage-block-unix
  204. mirage-block-xen
  205. mirage-channel >= "4.0.1"
  206. mirage-channel-lwt
  207. mirage-crypto-rng
  208. mirage-crypto-rng-async
  209. mirage-crypto-rng-eio
  210. mirage-crypto-rng-lwt
  211. mirage-crypto-rng-miou-unix
  212. mirage-crypto-rng-mirage
  213. mirage-crypto-rng-mkernel
  214. mirage-flow-combinators
  215. mirage-flow-lwt
  216. mirage-flow-unix
  217. mirage-logs
  218. mirage-monitoring
  219. mirage-nat
  220. mirage-net-macosx >= "1.2.0"
  221. mirage-net-solo5
  222. mirage-net-unikraft
  223. mirage-net-unix
  224. mirage-net-xen
  225. mirage-qubes
  226. mirage-runtime
  227. mirage-vnetif
  228. mirage-xen
  229. mkernel
  230. mlgpx
  231. mnet >= "0.0.5"
  232. mnet-cli >= "0.0.5"
  233. mnet-dhcp
  234. mqtt
  235. mrmime >= "0.5.0"
  236. mssql
  237. mtbox
  238. multipart_form >= "0.2.0"
  239. multipart_form-eio
  240. multipart_form-lwt
  241. multipart_form-miou
  242. neodriver_core >= "0.9.0"
  243. nsq
  244. nx >= "1.0.0~alpha3"
  245. nx-datasets
  246. obatcher
  247. obuilder
  248. ocgtk < "0.1~preview2"
  249. ocluster
  250. ocluster-worker
  251. ocplib-simplex >= "0.5"
  252. ocsigenserver >= "7.0.0"
  253. ocsipersist-dbm >= "2.1.0"
  254. ocsipersist-pgsql >= "2.1.0"
  255. ocsipersist-sqlite >= "2.1.0"
  256. odoc-driver
  257. oenv
  258. oidc
  259. omigrate
  260. opam-audit
  261. opam-ci
  262. opam-graph
  263. opam-minver
  264. opam-repomin
  265. opentelemetry-client-cohttp-eio >= "0.90"
  266. opentelemetry-client-ocurl >= "0.90"
  267. opentelemetry-client-ocurl-lwt
  268. opentelemetry-logs
  269. opium
  270. oskel
  271. owork
  272. oxbow
  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. simple_httpd_caqti
  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
  318. tally
  319. tar-unix >= "3.5.0"
  320. tcpip
  321. testcontainers
  322. timmy-lwt
  323. tiny_httpd >= "0.16"
  324. tiny_httpd_camlzip >= "0.16"
  325. tiny_httpd_eio
  326. tiny_libs
  327. tls >= "0.12.8"
  328. tls-eio >= "0.17.5"
  329. toc
  330. topkg-care
  331. twirp_core
  332. um-abt
  333. unic
  334. uniq
  335. uring
  336. uspf
  337. utcp
  338. utop >= "2.10.0"
  339. vendredi
  340. verdict
  341. vif
  342. wayland
  343. webauthn
  344. win-eventlog
  345. x509 >= "0.11.2"
  346. xapi-stdext-pervasives
  347. xtmpl >= "1.0.0"
  348. yaml
  349. yocaml >= "2.4.0"
  350. yocaml_runtime
  351. 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"