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

Conflicts (2)

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