package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

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

Conflicts (2)

  1. js_of_ocaml < "3.3.0"
  2. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.