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. 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 < "0.5.1"
  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. elm_playground_native
  112. ethernet
  113. facteur
  114. forester >= "5.0"
  115. functoria
  116. git
  117. git-cohttp
  118. git-cohttp-unix
  119. git-kv >= "0.2.0"
  120. git-mirage
  121. git-paf
  122. git-unix >= "3.2.0"
  123. github-hooks
  124. glicko2
  125. guardian
  126. happy-eyeballs
  127. happy-eyeballs-lwt
  128. happy-eyeballs-miou-unix
  129. happy-eyeballs-mirage
  130. horned_worm
  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
  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. mdx
  177. mehari
  178. mehari-eio
  179. memtrace_viewer < "v0.15.0"
  180. metrics-lwt
  181. metrics-rusage
  182. mimic
  183. miou
  184. mirage >= "4.0.0"
  185. mirage-block-combinators
  186. mirage-block-lwt
  187. mirage-block-unix
  188. mirage-block-xen
  189. mirage-channel >= "4.0.1"
  190. mirage-channel-lwt
  191. mirage-crypto-rng
  192. mirage-crypto-rng-async
  193. mirage-crypto-rng-eio
  194. mirage-crypto-rng-lwt
  195. mirage-crypto-rng-miou-unix
  196. mirage-crypto-rng-mirage
  197. mirage-flow-combinators
  198. mirage-flow-lwt
  199. mirage-flow-unix
  200. mirage-logs
  201. mirage-monitoring
  202. mirage-nat
  203. mirage-net-macosx >= "1.2.0"
  204. mirage-net-solo5
  205. mirage-net-unikraft
  206. mirage-net-unix
  207. mirage-net-xen
  208. mirage-qubes
  209. mirage-runtime
  210. mirage-vnetif
  211. mirage-xen
  212. mlgpx
  213. mqtt
  214. mrmime >= "0.5.0"
  215. mssql
  216. multipart_form >= "0.2.0"
  217. multipart_form-eio
  218. multipart_form-lwt
  219. multipart_form-miou
  220. nsq
  221. nx-datasets
  222. obatcher
  223. obuilder
  224. ocluster
  225. ocluster-worker
  226. ocplib-simplex >= "0.5"
  227. octez-distributed-lwt-internal
  228. octez-injector
  229. octez-internal-libs
  230. octez-libs
  231. octez-plonk
  232. odoc-driver
  233. oenv
  234. oidc
  235. omigrate
  236. opam-ci
  237. opam-graph
  238. opentelemetry-logs
  239. opium
  240. oskel
  241. owork
  242. ozulip
  243. paf
  244. paf-cohttp
  245. pf-qubes
  246. pgx_lwt >= "1.0"
  247. pgx_lwt_mirage
  248. piaf
  249. pplumbing < "0.0.16"
  250. pplumbing-log
  251. pplumbing-log-cli
  252. ppx_irmin >= "3.0.0"
  253. progress >= "0.2.0"
  254. prometheus-app >= "1.0"
  255. protocol-9p
  256. protocol-9p-tool
  257. protocol-9p-unix
  258. qcow
  259. qcow-tool
  260. qcow-types
  261. randii
  262. rdf >= "0.13.0"
  263. rotor
  264. sendmail >= "0.2.0"
  265. shared-block-ring
  266. sihl < "0.2.0" | >= "0.3.0~rc2"
  267. sihl-core
  268. slipshow >= "0.3.0"
  269. smaws-lib
  270. snf_mcp
  271. soupault
  272. spin >= "0.6.0"
  273. spoke
  274. starred_ml
  275. statocaml
  276. stk
  277. stk_iconv
  278. stog >= "0.20.0"
  279. swapfs
  280. syslog-rfc5424
  281. tcpip
  282. tezos-context >= "16.0"
  283. timmy-lwt
  284. tiny_httpd >= "0.16"
  285. tiny_httpd_camlzip >= "0.16"
  286. tls >= "0.12.8"
  287. tls-eio >= "0.17.5"
  288. toc
  289. topkg-care
  290. twirp_core
  291. um-abt
  292. uring
  293. uspf
  294. utop >= "2.10.0"
  295. vendredi
  296. vpnkit
  297. wayland
  298. webauthn
  299. win-eventlog
  300. x509 >= "0.11.2"
  301. xapi-stdext-pervasives
  302. xtmpl >= "1.0.0"
  303. yaml
  304. yocaml >= "2.4.0"
  305. yocaml_runtime
  306. yocaml_unix < "2.0.0"

Conflicts (2)

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