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 < "0.5.1"
  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. mdx
  181. mehari
  182. mehari-eio
  183. memtrace_viewer < "v0.15.0"
  184. metrics-lwt
  185. metrics-rusage
  186. mimic
  187. miou
  188. mirage >= "4.0.0"
  189. mirage-block-combinators
  190. mirage-block-lwt
  191. mirage-block-unix
  192. mirage-block-xen
  193. mirage-channel >= "4.0.1"
  194. mirage-channel-lwt
  195. mirage-crypto-rng
  196. mirage-crypto-rng-async
  197. mirage-crypto-rng-eio
  198. mirage-crypto-rng-lwt
  199. mirage-crypto-rng-miou-unix
  200. mirage-crypto-rng-mirage
  201. mirage-flow-combinators
  202. mirage-flow-lwt
  203. mirage-flow-unix
  204. mirage-logs
  205. mirage-monitoring
  206. mirage-nat
  207. mirage-net-macosx >= "1.2.0"
  208. mirage-net-solo5
  209. mirage-net-unikraft
  210. mirage-net-unix
  211. mirage-net-xen
  212. mirage-qubes
  213. mirage-runtime
  214. mirage-vnetif
  215. mirage-xen
  216. mlgpx
  217. mqtt
  218. mrmime >= "0.5.0"
  219. mssql
  220. multipart_form >= "0.2.0"
  221. multipart_form-eio
  222. multipart_form-lwt
  223. multipart_form-miou
  224. nsq
  225. nx-datasets
  226. obatcher
  227. obuilder
  228. ocluster
  229. ocluster-worker
  230. ocplib-simplex >= "0.5"
  231. octez-distributed-lwt-internal
  232. octez-injector
  233. octez-internal-libs
  234. octez-libs
  235. octez-plonk
  236. odoc-driver
  237. oenv
  238. oidc
  239. omigrate
  240. opam-ci
  241. opam-graph
  242. opam-repomin
  243. opentelemetry-logs
  244. opium
  245. oskel
  246. owork
  247. ozulip
  248. paf
  249. paf-cohttp
  250. pf-qubes
  251. pgx_lwt >= "1.0"
  252. pgx_lwt_mirage
  253. piaf
  254. polymarket
  255. pplumbing < "0.0.16"
  256. pplumbing-log
  257. pplumbing-log-cli
  258. ppx_irmin >= "3.0.0"
  259. progress >= "0.2.0"
  260. prometheus-app >= "1.0"
  261. protocol-9p
  262. protocol-9p-tool
  263. protocol-9p-unix
  264. qcow
  265. qcow-tool
  266. qcow-types
  267. randii
  268. rdf >= "0.13.0"
  269. rotor
  270. rowex
  271. sendmail >= "0.2.0"
  272. shared-block-ring
  273. sihl < "0.2.0" | >= "0.3.0~rc2"
  274. sihl-core
  275. slipshow >= "0.3.0"
  276. smaws-lib
  277. snf_mcp
  278. soupault
  279. spin >= "0.6.0"
  280. spoke
  281. starred_ml
  282. statocaml
  283. stk
  284. stk_iconv
  285. stog >= "0.20.0"
  286. swapfs
  287. syslog-rfc5424 < "0.2"
  288. tcpip
  289. tezos-context >= "16.0"
  290. timmy-lwt
  291. tiny_httpd >= "0.16"
  292. tiny_httpd_camlzip >= "0.16"
  293. tls >= "0.12.8"
  294. tls-eio >= "0.17.5"
  295. toc
  296. topkg-care
  297. twirp_core
  298. um-abt
  299. uring
  300. uspf
  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"