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. eliom >= "12.0.0"
  116. elm_playground_native
  117. ethernet
  118. facteur
  119. forester >= "5.0"
  120. functoria
  121. git
  122. git-cohttp
  123. git-cohttp-unix
  124. git-kv >= "0.2.0"
  125. git-mirage
  126. git-paf
  127. git-unix >= "3.2.0"
  128. github-hooks
  129. glicko2
  130. guardian
  131. happy-eyeballs
  132. happy-eyeballs-lwt
  133. happy-eyeballs-miou-unix
  134. happy-eyeballs-mirage
  135. horned_worm
  136. http-lwt-client
  137. httpcats
  138. hvsock
  139. index
  140. index-bench >= "1.4.0"
  141. irc-client >= "0.7.0"
  142. irmin
  143. irmin-bench
  144. irmin-chunk
  145. irmin-cli
  146. irmin-client
  147. irmin-fs
  148. irmin-git
  149. irmin-graphql
  150. irmin-http
  151. irmin-layers
  152. irmin-pack
  153. irmin-server
  154. irmin-test
  155. irmin-unix
  156. irmin-watcher
  157. jupyter
  158. jupyter-kernel >= "0.6"
  159. kappa-agents >= "4.1.3"
  160. kappa-binaries >= "4.1.3"
  161. kappa-library
  162. kaun
  163. kmt
  164. lambda-runtime
  165. lambda-term >= "3.3.1"
  166. ldp
  167. letsencrypt
  168. letsencrypt-app
  169. letsencrypt-dns
  170. linol >= "0.3"
  171. logs-async < "1.4"
  172. logs-async-reporter < "1.4"
  173. logs-ppx
  174. logs-syslog
  175. lwt-parallel
  176. MlFront_Cli < "2.3.1"
  177. MlFront_Codept
  178. MlFront_Errors
  179. MlFront_Logs
  180. MlFront_Tools
  181. mcrunch
  182. mdx
  183. mehari
  184. mehari-eio
  185. memtrace_viewer < "v0.15.0"
  186. metrics-lwt
  187. metrics-rusage
  188. mimic
  189. miou
  190. mirage >= "4.0.0"
  191. mirage-block-combinators
  192. mirage-block-lwt
  193. mirage-block-unix
  194. mirage-block-xen
  195. mirage-channel >= "4.0.1"
  196. mirage-channel-lwt
  197. mirage-crypto-rng
  198. mirage-crypto-rng-async
  199. mirage-crypto-rng-eio
  200. mirage-crypto-rng-lwt
  201. mirage-crypto-rng-miou-unix
  202. mirage-crypto-rng-mirage
  203. mirage-crypto-rng-mkernel
  204. mirage-flow-combinators
  205. mirage-flow-lwt
  206. mirage-flow-unix
  207. mirage-logs
  208. mirage-monitoring
  209. mirage-nat
  210. mirage-net-macosx >= "1.2.0"
  211. mirage-net-solo5
  212. mirage-net-unikraft
  213. mirage-net-unix
  214. mirage-net-xen
  215. mirage-qubes
  216. mirage-runtime
  217. mirage-vnetif
  218. mirage-xen
  219. mkernel
  220. mlgpx
  221. mqtt
  222. mrmime >= "0.5.0"
  223. mssql
  224. multipart_form >= "0.2.0"
  225. multipart_form-eio
  226. multipart_form-lwt
  227. multipart_form-miou
  228. nsq
  229. nx-datasets
  230. obatcher
  231. obuilder
  232. ocluster
  233. ocluster-worker
  234. ocplib-simplex >= "0.5"
  235. ocsigenserver >= "7.0.0"
  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. testcontainers
  290. timmy-lwt
  291. tiny_httpd >= "0.16"
  292. tiny_httpd_camlzip >= "0.16"
  293. tiny_httpd_eio
  294. tls >= "0.12.8"
  295. tls-eio >= "0.17.5"
  296. toc
  297. topkg-care
  298. twirp_core
  299. um-abt
  300. uring
  301. uspf
  302. utcp
  303. utop >= "2.10.0"
  304. vendredi
  305. wayland
  306. webauthn
  307. win-eventlog
  308. x509 >= "0.11.2"
  309. xapi-stdext-pervasives
  310. xtmpl >= "1.0.0"
  311. yaml
  312. yocaml >= "2.4.0"
  313. yocaml_runtime
  314. yocaml_unix < "2.0.0"

Conflicts (2)

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