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

Conflicts (2)

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