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. 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-paf
  132. git-unix >= "3.2.0"
  133. github-hooks
  134. glicko2
  135. guardian
  136. happy-eyeballs
  137. happy-eyeballs-lwt
  138. happy-eyeballs-miou-unix
  139. happy-eyeballs-mirage
  140. http-lwt-client
  141. httpcats
  142. hvsock
  143. index < "1.6.1"
  144. index-bench >= "1.4.0"
  145. irc-client >= "0.7.0"
  146. irky
  147. irky-eio
  148. irmin
  149. irmin-bench
  150. irmin-chunk
  151. irmin-cli
  152. irmin-client
  153. irmin-fs
  154. irmin-git
  155. irmin-graphql
  156. irmin-http
  157. irmin-layers
  158. irmin-pack
  159. irmin-server
  160. irmin-test
  161. irmin-unix
  162. irmin-watcher
  163. jupyter
  164. jupyter-kernel >= "0.6"
  165. kappa-library
  166. kaun < "1.0.0~alpha3"
  167. kmt
  168. lambda-term >= "3.3.1"
  169. ldp
  170. letsencrypt
  171. letsencrypt-app
  172. letsencrypt-dns
  173. linol >= "0.3"
  174. logs-async < "1.4"
  175. logs-async-reporter < "1.4"
  176. logs-ppx
  177. logs-syslog
  178. lwt-parallel
  179. MlFront_Cli < "2.3.1"
  180. MlFront_Codept
  181. MlFront_Errors
  182. MlFront_Logs
  183. MlFront_Tools
  184. mcrunch
  185. mdx
  186. mehari
  187. mehari-eio
  188. memtrace_viewer < "v0.15.0"
  189. metrics-lwt
  190. metrics-rusage
  191. mfat
  192. mfetch
  193. migra
  194. mimic
  195. miou
  196. mirage >= "4.0.0"
  197. mirage-block-combinators
  198. mirage-block-lwt
  199. mirage-block-unix
  200. mirage-block-xen
  201. mirage-channel >= "4.0.1"
  202. mirage-channel-lwt
  203. mirage-crypto-rng
  204. mirage-crypto-rng-async
  205. mirage-crypto-rng-eio
  206. mirage-crypto-rng-lwt
  207. mirage-crypto-rng-miou-unix
  208. mirage-crypto-rng-mirage
  209. mirage-crypto-rng-mkernel
  210. mirage-flow-combinators
  211. mirage-flow-lwt
  212. mirage-flow-unix
  213. mirage-logs
  214. mirage-monitoring
  215. mirage-nat
  216. mirage-net-macosx >= "1.2.0"
  217. mirage-net-solo5
  218. mirage-net-unikraft
  219. mirage-net-unix
  220. mirage-net-xen
  221. mirage-qubes
  222. mirage-runtime
  223. mirage-vnetif
  224. mirage-xen
  225. mkernel
  226. mlgpx
  227. mnet >= "0.0.5"
  228. mnet-cli >= "0.0.5"
  229. mnet-dhcp
  230. mqtt
  231. mrmime >= "0.5.0"
  232. mssql
  233. mtbox
  234. multipart_form >= "0.2.0"
  235. multipart_form-eio
  236. multipart_form-lwt
  237. multipart_form-miou
  238. neodriver_core >= "0.9.0"
  239. nsq
  240. nx >= "1.0.0~alpha3"
  241. nx-datasets
  242. obatcher
  243. obuilder
  244. ocgtk < "0.1~preview2"
  245. ocluster
  246. ocluster-worker
  247. ocplib-simplex >= "0.5"
  248. ocsigenserver >= "7.0.0"
  249. ocsipersist-dbm >= "2.1.0"
  250. ocsipersist-pgsql >= "2.1.0"
  251. ocsipersist-sqlite >= "2.1.0"
  252. odoc-driver
  253. oenv
  254. oidc
  255. omigrate
  256. opam-ci
  257. opam-graph
  258. opam-minver
  259. opam-repomin
  260. opentelemetry-client-cohttp-eio >= "0.90"
  261. opentelemetry-client-ocurl >= "0.90"
  262. opentelemetry-client-ocurl-lwt
  263. opentelemetry-logs
  264. opium
  265. oskel
  266. owork
  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. slipshow >= "0.3.0"
  298. smaws-lib
  299. snf_mcp
  300. soupault
  301. spin >= "0.6.0"
  302. spoke
  303. starred_ml
  304. statocaml
  305. stem
  306. stk
  307. stk_iconv
  308. stog >= "0.20.0"
  309. swapfs
  310. syslog-rfc5424 < "0.2"
  311. tar-unix >= "3.5.0"
  312. tcpip
  313. testcontainers
  314. timmy-lwt
  315. tiny_httpd >= "0.16"
  316. tiny_httpd_camlzip >= "0.16"
  317. tiny_httpd_eio
  318. tiny_libs
  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. verdict
  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"