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. apero-core
  8. apero-net
  9. apero-time
  10. api-watch
  11. arp
  12. asl >= "0.8"
  13. awa
  14. awa-mirage
  15. aws-config
  16. bancos
  17. bank
  18. benchpress
  19. benchpress-server
  20. bos
  21. builder
  22. builder-web
  23. bun >= "0.3.3"
  24. ca-certs
  25. ca-certs-nss
  26. cachet >= "0.0.4"
  27. cactus
  28. caisar
  29. calculon >= "0.6"
  30. caldav
  31. camltc
  32. capnp-rpc
  33. capnp-rpc-lwt < "2.0"
  34. capnp-rpc-net
  35. capnp-rpc-unix
  36. caqti >= "0.11.0"
  37. caqti-async >= "2.1.1"
  38. caqti-eio
  39. caqti-lwt
  40. caqti-miou
  41. caqti-mirage
  42. carton
  43. carton-git
  44. carton-lwt < "1.0.0"
  45. carton-miou
  46. carton-miou-unix
  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. 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. 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. horned_worm
  135. http-lwt-client
  136. httpcats
  137. hvsock
  138. index
  139. index-bench >= "1.4.0"
  140. irc-client >= "0.7.0"
  141. irmin
  142. irmin-bench
  143. irmin-chunk
  144. irmin-cli
  145. irmin-client
  146. irmin-fs
  147. irmin-git
  148. irmin-graphql
  149. irmin-http
  150. irmin-layers
  151. irmin-pack
  152. irmin-server
  153. irmin-test
  154. irmin-unix
  155. irmin-watcher
  156. jupyter
  157. jupyter-kernel >= "0.6"
  158. kappa-agents >= "4.1.3"
  159. kappa-binaries >= "4.1.3"
  160. kappa-library
  161. kaun
  162. kmt
  163. lambda-runtime
  164. lambda-term >= "3.3.1"
  165. ldp
  166. letsencrypt
  167. letsencrypt-app
  168. letsencrypt-dns
  169. linol >= "0.3"
  170. logs-async < "1.4"
  171. logs-async-reporter < "1.4"
  172. logs-ppx
  173. logs-syslog
  174. lwt-parallel
  175. MlFront_Cli < "2.3.1"
  176. MlFront_Codept
  177. MlFront_Errors
  178. MlFront_Logs
  179. MlFront_Tools
  180. mcrunch
  181. mdx
  182. mehari
  183. mehari-eio
  184. memtrace_viewer < "v0.15.0"
  185. metrics-lwt
  186. metrics-rusage
  187. mimic
  188. miou
  189. mirage >= "4.0.0"
  190. mirage-block-combinators
  191. mirage-block-lwt
  192. mirage-block-unix
  193. mirage-block-xen
  194. mirage-channel >= "4.0.1"
  195. mirage-channel-lwt
  196. mirage-crypto-rng
  197. mirage-crypto-rng-async
  198. mirage-crypto-rng-eio
  199. mirage-crypto-rng-lwt
  200. mirage-crypto-rng-miou-unix
  201. mirage-crypto-rng-mirage
  202. mirage-crypto-rng-mkernel
  203. mirage-flow-combinators
  204. mirage-flow-lwt
  205. mirage-flow-unix
  206. mirage-logs
  207. mirage-monitoring
  208. mirage-nat
  209. mirage-net-macosx >= "1.2.0"
  210. mirage-net-solo5
  211. mirage-net-unikraft
  212. mirage-net-unix
  213. mirage-net-xen
  214. mirage-qubes
  215. mirage-runtime
  216. mirage-vnetif
  217. mirage-xen
  218. mkernel
  219. mlgpx
  220. mqtt
  221. mrmime >= "0.5.0"
  222. mssql
  223. multipart_form >= "0.2.0"
  224. multipart_form-eio
  225. multipart_form-lwt
  226. multipart_form-miou
  227. nsq
  228. nx-datasets
  229. obatcher
  230. obuilder
  231. ocluster
  232. ocluster-worker
  233. ocplib-simplex >= "0.5"
  234. odoc-driver
  235. oenv
  236. oidc
  237. omigrate
  238. opam-ci
  239. opam-graph
  240. opam-repomin
  241. opentelemetry-logs
  242. opium
  243. oskel
  244. owork
  245. ozulip
  246. paf
  247. paf-cohttp
  248. pf-qubes
  249. pgx_lwt >= "1.0"
  250. pgx_lwt_mirage
  251. piaf
  252. polymarket
  253. pplumbing < "0.0.16"
  254. pplumbing-log
  255. pplumbing-log-cli
  256. ppx_irmin >= "3.0.0"
  257. progress >= "0.2.0"
  258. prometheus-app >= "1.0"
  259. protocol-9p
  260. protocol-9p-tool
  261. protocol-9p-unix
  262. qcow
  263. qcow-tool
  264. qcow-types
  265. randii
  266. rdf >= "0.13.0"
  267. rotor
  268. rowex
  269. sendmail >= "0.2.0"
  270. shared-block-ring
  271. sihl < "0.2.0" | >= "0.3.0~rc2"
  272. sihl-core
  273. slipshow >= "0.3.0"
  274. smaws-lib
  275. snf_mcp
  276. soupault
  277. spin >= "0.6.0"
  278. spoke
  279. starred_ml
  280. statocaml
  281. stk
  282. stk_iconv
  283. stog >= "0.20.0"
  284. swapfs
  285. syslog-rfc5424 < "0.2"
  286. tcpip
  287. testcontainers
  288. timmy-lwt
  289. tiny_httpd >= "0.16"
  290. tiny_httpd_camlzip >= "0.16"
  291. tiny_httpd_eio
  292. tls >= "0.12.8"
  293. tls-eio >= "0.17.5"
  294. toc
  295. topkg-care
  296. twirp_core
  297. um-abt
  298. uring
  299. uspf
  300. utcp
  301. utop >= "2.10.0"
  302. vendredi
  303. vpnkit
  304. wayland
  305. webauthn
  306. win-eventlog
  307. x509 >= "0.11.2"
  308. xapi-stdext-pervasives
  309. xtmpl >= "1.0.0"
  310. yaml
  311. yocaml >= "2.4.0"
  312. yocaml_runtime
  313. yocaml_unix < "2.0.0"

Conflicts (2)

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