package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

logs-0.7.0.tbz
sha256=86f4a02807eb1a297aae44977d9f61e419c31458a5d7b23c6f55575e8e69d5ca
md5=2bf021ca13331775e33cf34ab60246f7

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.

Tags

log system org:erratique

Published: 13 Aug 2019

README

Logs — Logging infrastructure for OCaml

v0.7.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.

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
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.03.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
  15. awskit-eio
  16. awskit-lwt
  17. bancos
  18. bank
  19. bos
  20. builder
  21. builder-web
  22. bun >= "0.3.3"
  23. ca-certs
  24. ca-certs-nss
  25. cachet >= "0.0.4"
  26. cactus
  27. caisar
  28. calculon
  29. caldav
  30. camltc
  31. capnp-rpc
  32. capnp-rpc-lwt < "2.0"
  33. capnp-rpc-net
  34. capnp-rpc-unix
  35. caqti >= "0.11.0"
  36. caqti-async >= "2.1.1"
  37. caqti-eio
  38. caqti-lwt
  39. caqti-miou
  40. caqti-mirage
  41. carton
  42. carton-git
  43. carton-lwt < "1.0.0"
  44. carton-miou
  45. carton-miou-unix
  46. catala-lsp
  47. catapult-daemon
  48. chamelon
  49. chamelon-unix
  50. chamo
  51. charrua-client
  52. charrua-unix >= "2.0.0"
  53. cmdtui-lambda-term
  54. cohttp >= "6.0.0~beta2"
  55. cohttp-async
  56. cohttp-eio >= "6.0.0"
  57. cohttp-lwt >= "2.1.3"
  58. cohttp-lwt-jsoo >= "5.3.0"
  59. cohttp-lwt-unix
  60. colibrics
  61. colombe < "0.2.0"
  62. commons >= "1.8.0"
  63. compsort
  64. conduit
  65. conduit-lwt-unix >= "2.3.0"
  66. conex < "0.10.0"
  67. conex-mirage-crypto
  68. craml
  69. css
  70. current
  71. current-albatross-deployer
  72. current_docker
  73. current_examples
  74. current_git
  75. current_github
  76. current_gitlab
  77. current_ocluster
  78. current_rpc
  79. current_slack
  80. current_web
  81. dap
  82. datakit-server
  83. deepseek
  84. diffast-git-cli
  85. diskuvbox
  86. distributed-lwt
  87. distributed-uwt
  88. dkim
  89. dkim-bin
  90. dkim-mirage
  91. dkml-install-installer
  92. dkml-install-runner
  93. dmarc
  94. dns >= "4.4.1"
  95. dns-certify
  96. dns-cli
  97. dns-client < "7.0.3"
  98. dns-forward
  99. dns-resolver >= "10.1.0"
  100. dns-server
  101. dnssd
  102. dnssec
  103. dockerfile-cmd
  104. docteur
  105. docteur-unix
  106. dolmen_lsp
  107. dream
  108. dream-cli
  109. duff < "0.3"
  110. dune-release
  111. dunolint
  112. earlybird
  113. eio_linux
  114. electrod
  115. eliom >= "12.0.0"
  116. elm_playground_native
  117. ethernet
  118. facteur
  119. forester >= "5.0"
  120. functoria
  121. git
  122. git-cohttp
  123. git-cohttp-unix
  124. git-kv >= "0.2.0"
  125. git-mirage
  126. git-paf
  127. git-unix >= "3.2.0"
  128. github-hooks
  129. glicko2
  130. guardian
  131. happy-eyeballs
  132. happy-eyeballs-lwt
  133. happy-eyeballs-miou-unix
  134. happy-eyeballs-mirage
  135. http-lwt-client
  136. httpcats
  137. hvsock
  138. index
  139. index-bench >= "1.4.0"
  140. irc-client >= "0.7.0"
  141. irky
  142. irky-eio
  143. irmin
  144. irmin-bench
  145. irmin-chunk
  146. irmin-cli
  147. irmin-client
  148. irmin-fs
  149. irmin-git
  150. irmin-graphql
  151. irmin-http
  152. irmin-layers
  153. irmin-pack
  154. irmin-server
  155. irmin-test
  156. irmin-unix
  157. irmin-watcher
  158. jupyter
  159. jupyter-kernel >= "0.6"
  160. kappa-agents >= "4.1.3"
  161. kappa-binaries >= "4.1.3"
  162. kappa-library
  163. kaun < "1.0.0~alpha3"
  164. kmt
  165. lambda-runtime
  166. lambda-term >= "3.3.1"
  167. ldp
  168. letsencrypt
  169. letsencrypt-app
  170. letsencrypt-dns
  171. linol >= "0.3"
  172. logs-async < "1.4"
  173. logs-async-reporter < "1.4"
  174. logs-ppx
  175. logs-syslog
  176. lwt-parallel
  177. MlFront_Cli < "2.3.1"
  178. MlFront_Codept
  179. MlFront_Errors
  180. MlFront_Logs
  181. MlFront_Tools
  182. mcrunch
  183. mdx
  184. mehari
  185. mehari-eio
  186. memtrace_viewer < "v0.15.0"
  187. metrics-lwt
  188. metrics-rusage
  189. mfat
  190. migra
  191. mimic
  192. miou
  193. mirage >= "4.0.0"
  194. mirage-block-combinators
  195. mirage-block-lwt
  196. mirage-block-unix
  197. mirage-block-xen
  198. mirage-channel >= "4.0.1"
  199. mirage-channel-lwt
  200. mirage-crypto-rng
  201. mirage-crypto-rng-async
  202. mirage-crypto-rng-eio
  203. mirage-crypto-rng-lwt
  204. mirage-crypto-rng-miou-unix
  205. mirage-crypto-rng-mirage
  206. mirage-crypto-rng-mkernel
  207. mirage-flow-combinators
  208. mirage-flow-lwt
  209. mirage-flow-unix
  210. mirage-logs
  211. mirage-monitoring
  212. mirage-nat
  213. mirage-net-macosx >= "1.2.0"
  214. mirage-net-solo5
  215. mirage-net-unikraft
  216. mirage-net-unix
  217. mirage-net-xen
  218. mirage-qubes
  219. mirage-runtime
  220. mirage-vnetif
  221. mirage-xen
  222. mkernel
  223. mlgpx
  224. mqtt
  225. mrmime >= "0.5.0"
  226. mssql
  227. mtbox
  228. multipart_form >= "0.2.0"
  229. multipart_form-eio
  230. multipart_form-lwt
  231. multipart_form-miou
  232. nsq
  233. nx >= "1.0.0~alpha3"
  234. nx-datasets
  235. obatcher
  236. obuilder
  237. ocgtk
  238. ocluster
  239. ocluster-worker
  240. ocplib-simplex >= "0.5"
  241. ocsigenserver >= "7.0.0"
  242. odoc-driver
  243. oenv
  244. oidc
  245. omigrate
  246. opam-ci
  247. opam-graph
  248. opam-repomin
  249. opentelemetry-client-cohttp-eio >= "0.90"
  250. opentelemetry-client-ocurl >= "0.90"
  251. opentelemetry-client-ocurl-lwt
  252. opentelemetry-logs
  253. opium
  254. oskel
  255. owork
  256. ozulip
  257. paf
  258. paf-cohttp
  259. pf-qubes
  260. pgx_lwt
  261. pgx_lwt_mirage
  262. piaf
  263. polymarket
  264. pplumbing < "0.0.16"
  265. pplumbing-log
  266. pplumbing-log-cli
  267. ppx_irmin >= "3.0.0"
  268. progress >= "0.2.0"
  269. prometheus-app >= "1.0"
  270. protocol-9p
  271. protocol-9p-tool
  272. protocol-9p-unix
  273. pyro-caml-instruments
  274. qcow
  275. qcow-tool
  276. qcow-types
  277. randii
  278. rdf >= "0.13.0"
  279. resource-pooling >= "1.3"
  280. rowex
  281. sendmail >= "0.2.0"
  282. shared-block-ring
  283. sihl < "0.2.0" | >= "0.3.0~rc2"
  284. sihl-core
  285. slipshow >= "0.3.0"
  286. smaws-lib
  287. snf_mcp
  288. soupault
  289. spin >= "0.6.0"
  290. spoke
  291. starred_ml
  292. statocaml
  293. stem
  294. stk
  295. stk_iconv
  296. stog >= "0.20.0"
  297. swapfs
  298. syslog-rfc5424 < "0.2"
  299. tcpip
  300. testcontainers
  301. timmy-lwt
  302. tiny_httpd >= "0.16"
  303. tiny_httpd_camlzip >= "0.16"
  304. tiny_httpd_eio
  305. tls >= "0.12.8"
  306. tls-eio >= "0.17.5"
  307. toc
  308. topkg-care
  309. twirp_core
  310. um-abt
  311. uring
  312. uspf
  313. utcp
  314. utop >= "2.10.0"
  315. vendredi
  316. wayland
  317. webauthn
  318. win-eventlog
  319. x509 >= "0.11.2"
  320. xapi-stdext-pervasives
  321. xtmpl >= "1.0.0"
  322. yaml
  323. yocaml >= "2.4.0"
  324. yocaml_runtime
  325. yocaml_unix < "2.0.0"

Conflicts (2)

  1. js_of_ocaml < "3.3.0"
  2. cmdliner < "0.9.8" | >= "2.0.0"