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

Conflicts (2)

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