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

Conflicts (2)

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