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. 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-paf
  134. git-unix >= "3.2.0"
  135. github-hooks
  136. glicko2
  137. guardian
  138. happy-eyeballs
  139. happy-eyeballs-lwt
  140. happy-eyeballs-miou-unix
  141. happy-eyeballs-mirage
  142. http-lwt-client
  143. httpcats
  144. hvsock
  145. index < "1.6.1"
  146. index-bench >= "1.4.0"
  147. irc-client >= "0.7.0"
  148. irky
  149. irky-eio
  150. irmin
  151. irmin-bench
  152. irmin-chunk
  153. irmin-cli
  154. irmin-client
  155. irmin-fs
  156. irmin-git
  157. irmin-graphql
  158. irmin-http
  159. irmin-layers
  160. irmin-pack
  161. irmin-server
  162. irmin-test
  163. irmin-unix
  164. irmin-watcher
  165. jupyter
  166. jupyter-kernel >= "0.6"
  167. kappa-library
  168. kaun < "1.0.0~alpha3"
  169. kmt
  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 < "1.4"
  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. neodriver_core >= "0.9.0"
  241. nsq
  242. nx >= "1.0.0~alpha3"
  243. nx-datasets
  244. obatcher
  245. obuilder
  246. ocgtk < "0.1~preview2"
  247. ocluster
  248. ocluster-worker
  249. ocplib-simplex >= "0.5"
  250. ocsigenserver >= "7.0.0"
  251. ocsipersist-dbm >= "2.1.0"
  252. ocsipersist-pgsql >= "2.1.0"
  253. ocsipersist-sqlite >= "2.1.0"
  254. odoc-driver
  255. oenv
  256. oidc
  257. omigrate
  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. ozulip
  270. paf
  271. paf-cohttp
  272. pf-qubes
  273. pgx_lwt
  274. pgx_lwt_mirage
  275. piaf
  276. polymarket
  277. pplumbing < "0.0.16"
  278. pplumbing-log
  279. pplumbing-log-cli
  280. ppx_irmin >= "3.0.0"
  281. progress >= "0.2.0"
  282. prometheus-app >= "1.0" & < "2.0"
  283. prometheus-reporter
  284. protocol-9p
  285. protocol-9p-tool
  286. protocol-9p-unix
  287. pyro-caml-instruments
  288. qcow
  289. qcow-tool
  290. qcow-types
  291. randii
  292. rdf >= "0.13.0"
  293. resource-pooling >= "1.3"
  294. rowex
  295. sendmail >= "0.2.0"
  296. shared-block-ring
  297. sihl < "0.2.0" | >= "0.3.0~rc2"
  298. sihl-core
  299. slipshow >= "0.3.0"
  300. smaws-lib
  301. snf_mcp
  302. soupault
  303. spin >= "0.6.0"
  304. spoke
  305. starred_ml
  306. statocaml
  307. stem
  308. stk
  309. stk_iconv
  310. stog >= "0.20.0"
  311. swapfs
  312. syslog-rfc5424 < "0.2"
  313. tar-unix >= "3.5.0"
  314. tcpip
  315. testcontainers
  316. timmy-lwt
  317. tiny_httpd >= "0.16"
  318. tiny_httpd_camlzip >= "0.16"
  319. tiny_httpd_eio
  320. tiny_libs
  321. tls >= "0.12.8"
  322. tls-eio >= "0.17.5"
  323. toc
  324. topkg-care
  325. twirp_core
  326. um-abt
  327. unic
  328. uniq
  329. uring
  330. uspf
  331. utcp
  332. utop >= "2.10.0"
  333. vendredi
  334. verdict
  335. wayland
  336. webauthn
  337. win-eventlog
  338. x509 >= "0.11.2"
  339. xapi-stdext-pervasives
  340. xtmpl >= "1.0.0"
  341. yaml
  342. yocaml >= "2.4.0"
  343. yocaml_runtime
  344. 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"