package logs

  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. 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. craml
  74. css
  75. current >= "0.6.2"
  76. current-albatross-deployer
  77. current_docker
  78. current_examples
  79. current_git
  80. current_github
  81. current_gitlab
  82. current_ocluster
  83. current_rpc
  84. current_slack
  85. current_web
  86. dap
  87. datakit-server
  88. deepseek
  89. diffast-git-cli
  90. diskuvbox
  91. distributed-lwt
  92. distributed-uwt
  93. dkim
  94. dkim-bin
  95. dkim-mirage
  96. dkml-install-installer
  97. dkml-install-runner
  98. dmarc
  99. dns >= "4.4.1"
  100. dns-certify
  101. dns-cli
  102. dns-client < "7.0.3"
  103. dns-forward
  104. dns-resolver >= "10.1.0"
  105. dns-server
  106. dnssd
  107. dnssec
  108. dockerfile-cmd
  109. docteur
  110. docteur-unix
  111. dolmen_lsp
  112. dream
  113. dream-cli
  114. duff < "0.3"
  115. dune-release
  116. dunolint
  117. earlybird
  118. eio_linux
  119. electrod
  120. eliom >= "12.0.0"
  121. elm_playground_native
  122. elm_playground_software
  123. ethernet
  124. facteur
  125. forester >= "5.0"
  126. functoria
  127. git
  128. git-cohttp
  129. git-cohttp-unix
  130. git-kv >= "0.2.0"
  131. git-mirage
  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-term >= "3.3.1"
  170. ldp
  171. letsencrypt
  172. letsencrypt-app
  173. letsencrypt-dns
  174. linol >= "0.3"
  175. logs-async < "1.4"
  176. logs-async-reporter < "1.4"
  177. logs-ppx
  178. logs-syslog
  179. lwt-parallel
  180. MlFront_Cli < "2.3.1"
  181. MlFront_Codept
  182. MlFront_Errors
  183. MlFront_Logs
  184. MlFront_Tools
  185. mcrunch
  186. mdx
  187. mehari
  188. mehari-eio
  189. memtrace_viewer < "v0.15.0"
  190. metrics-lwt
  191. metrics-rusage
  192. mfat
  193. mfetch
  194. migra
  195. mimic
  196. miou
  197. mirage >= "4.0.0"
  198. mirage-block-combinators
  199. mirage-block-lwt
  200. mirage-block-unix
  201. mirage-block-xen
  202. mirage-channel >= "4.0.1"
  203. mirage-channel-lwt
  204. mirage-crypto-rng
  205. mirage-crypto-rng-async
  206. mirage-crypto-rng-eio
  207. mirage-crypto-rng-lwt
  208. mirage-crypto-rng-miou-unix
  209. mirage-crypto-rng-mirage
  210. mirage-crypto-rng-mkernel
  211. mirage-flow-combinators
  212. mirage-flow-lwt
  213. mirage-flow-unix
  214. mirage-logs
  215. mirage-monitoring
  216. mirage-nat
  217. mirage-net-macosx >= "1.2.0"
  218. mirage-net-solo5
  219. mirage-net-unikraft
  220. mirage-net-unix
  221. mirage-net-xen
  222. mirage-qubes
  223. mirage-runtime
  224. mirage-vnetif
  225. mirage-xen
  226. mkernel
  227. mlgpx
  228. mnet >= "0.0.5"
  229. mnet-cli >= "0.0.5"
  230. mnet-dhcp
  231. mqtt
  232. mrmime >= "0.5.0"
  233. mssql
  234. mtbox
  235. multipart_form >= "0.2.0"
  236. multipart_form-eio
  237. multipart_form-lwt
  238. multipart_form-miou
  239. neodriver_core >= "0.9.0"
  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-ci
  258. opam-graph
  259. opam-minver
  260. opam-repomin
  261. opentelemetry-client-cohttp-eio >= "0.90"
  262. opentelemetry-client-ocurl >= "0.90"
  263. opentelemetry-client-ocurl-lwt
  264. opentelemetry-logs
  265. opium
  266. oskel
  267. owork
  268. ozulip
  269. paf
  270. paf-cohttp
  271. pf-qubes
  272. pgx_lwt
  273. pgx_lwt_mirage
  274. piaf
  275. polymarket
  276. pplumbing < "0.0.16"
  277. pplumbing-log
  278. pplumbing-log-cli
  279. ppx_irmin >= "3.0.0"
  280. progress >= "0.2.0"
  281. prometheus-app >= "1.0" & < "2.0"
  282. prometheus-reporter
  283. protocol-9p
  284. protocol-9p-tool
  285. protocol-9p-unix
  286. pyro-caml-instruments
  287. qcow
  288. qcow-tool
  289. qcow-types
  290. randii
  291. rdf >= "0.13.0"
  292. resource-pooling >= "1.3"
  293. rowex
  294. sendmail >= "0.2.0"
  295. shared-block-ring
  296. sihl < "0.2.0" | >= "0.3.0~rc2"
  297. sihl-core
  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 < "0.2"
  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. tiny_libs
  320. tls >= "0.12.8"
  321. tls-eio >= "0.17.5"
  322. toc
  323. topkg-care
  324. twirp_core
  325. um-abt
  326. unic
  327. uniq
  328. uring
  329. uspf
  330. utcp
  331. utop >= "2.10.0"
  332. vendredi
  333. verdict
  334. wayland
  335. webauthn
  336. win-eventlog
  337. x509 >= "0.11.2"
  338. xapi-stdext-pervasives
  339. xtmpl >= "1.0.0"
  340. yaml
  341. yocaml >= "2.4.0"
  342. yocaml_runtime
  343. 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"