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. 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-crypto-rng-mkernel
  202. mirage-flow-combinators
  203. mirage-flow-lwt
  204. mirage-flow-unix
  205. mirage-logs
  206. mirage-monitoring
  207. mirage-nat
  208. mirage-net-macosx >= "1.2.0"
  209. mirage-net-solo5
  210. mirage-net-unikraft
  211. mirage-net-unix
  212. mirage-net-xen
  213. mirage-qubes
  214. mirage-runtime
  215. mirage-vnetif
  216. mirage-xen
  217. mkernel
  218. mlgpx
  219. mqtt
  220. mrmime >= "0.5.0"
  221. mssql
  222. multipart_form >= "0.2.0"
  223. multipart_form-eio
  224. multipart_form-lwt
  225. multipart_form-miou
  226. nsq
  227. nx-datasets
  228. obatcher
  229. obuilder
  230. ocluster
  231. ocluster-worker
  232. ocplib-simplex >= "0.5"
  233. odoc-driver
  234. oenv
  235. oidc
  236. omigrate
  237. opam-ci
  238. opam-graph
  239. opam-repomin
  240. opentelemetry-logs
  241. opium
  242. oskel
  243. owork
  244. ozulip
  245. paf
  246. paf-cohttp
  247. pf-qubes
  248. pgx_lwt >= "1.0"
  249. pgx_lwt_mirage
  250. piaf
  251. polymarket
  252. pplumbing < "0.0.16"
  253. pplumbing-log
  254. pplumbing-log-cli
  255. ppx_irmin >= "3.0.0"
  256. progress >= "0.2.0"
  257. prometheus-app >= "1.0"
  258. protocol-9p
  259. protocol-9p-tool
  260. protocol-9p-unix
  261. qcow
  262. qcow-tool
  263. qcow-types
  264. randii
  265. rdf >= "0.13.0"
  266. rotor
  267. rowex
  268. sendmail >= "0.2.0"
  269. shared-block-ring
  270. sihl < "0.2.0" | >= "0.3.0~rc2"
  271. sihl-core
  272. slipshow >= "0.3.0"
  273. smaws-lib
  274. snf_mcp
  275. soupault
  276. spin >= "0.6.0"
  277. spoke
  278. starred_ml
  279. statocaml
  280. stk
  281. stk_iconv
  282. stog >= "0.20.0"
  283. swapfs
  284. syslog-rfc5424 < "0.2"
  285. tcpip
  286. timmy-lwt
  287. tiny_httpd >= "0.16"
  288. tiny_httpd_camlzip >= "0.16"
  289. tls >= "0.12.8"
  290. tls-eio >= "0.17.5"
  291. toc
  292. topkg-care
  293. twirp_core
  294. um-abt
  295. uring
  296. uspf
  297. utcp
  298. utop >= "2.10.0"
  299. vendredi
  300. vpnkit
  301. wayland
  302. webauthn
  303. win-eventlog
  304. x509 >= "0.11.2"
  305. xapi-stdext-pervasives
  306. xtmpl >= "1.0.0"
  307. yaml
  308. yocaml >= "2.4.0"
  309. yocaml_runtime
  310. yocaml_unix < "2.0.0"

Conflicts (2)

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