package logs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=a320ef34eda51694be23f2a383d83f9ae6a8430fd0ef8cec1fa8c58be5b10bce
md5=19f824c02c83c6dddc3bfb6459e4743e
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
depends only on the result
compatibility package. 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.
README
Logs — Logging infrastructure for OCaml
v0.6.2
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
depends only on the result
compatibility package. 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
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
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 and API reference is automatically generated by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
If you installed Logs with opam
sample programs are located in the directory the directory opam config var logs:doc
.
Dependencies (5)
-
result
< "1.5"
-
topkg
build
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.01.0"
Dev Dependencies (1)
-
mtime
with-test
-
acgtk
>= "1.5.0"
- albatross
- alcotest-lwt
- alcotest-mirage
- api-watch
- arp
- arp-mirage
-
asl
>= "0.8"
- awa
- awa-mirage
- aws-config
- benchpress
- benchpress-server
- bos
- builder
- builder-web
-
bun
>= "0.3.3"
-
ca-certs
>= "0.1.3"
- ca-certs-nss
-
calculon
>= "0.6"
-
camltc
>= "0.9.5"
- capnp-rpc
- capnp-rpc-lwt
- capnp-rpc-mirage
- capnp-rpc-net
- capnp-rpc-unix
-
caqti
>= "0.11.0"
-
caqti-async
>= "2.1.1"
- caqti-eio
-
caqti-lwt
>= "0.11.0"
- caqti-mirage
- carton
- chamelon
- chamelon-unix
-
channel
>= "1.1.0"
-
charrua-client
< "0.9" | >= "1.3.0"
- charrua-client-lwt
- charrua-client-mirage
- cmdtui-lambda-term
-
cohttp
>= "0.22.0" & < "1.0.0" | >= "6.0.0~beta2"
-
cohttp-async
>= "1.0.0"
-
cohttp-lwt
>= "2.0.0"
-
cohttp-lwt-jsoo
>= "4.1.1"
- cohttp-lwt-unix
- cohttp-lwt-unix-nossl
- cohttp-lwt-unix-ssl
-
colombe
< "0.2.0"
- compsort
-
conduit
>= "0.14.0" & != "3.0.0"
-
conduit-lwt-unix
>= "2.3.0"
- conduit-tls
-
conex
< "0.10.0"
- conex-mirage-crypto
- conex-nocrypto
- craml
- current_ocluster
- dap
- datakit
- datakit-bridge-github
- datakit-bridge-local-git
- datakit-ci
-
datakit-client
< "0.11.0"
- datakit-client-9p
- datakit-github
- datakit-server
- distributed-lwt
- distributed-uwt
- dkim
- dkim-bin
-
dkim-mirage
>= "0.2.0"
-
dns
>= "4.0.0"
-
dns-certify
>= "4.4.0"
- dns-forward
- dnssd
- dockerfile-cmd
-
dog
>= "0.2.1"
- dolmen_lsp
- dream
- dream-cli
-
duff
< "0.3"
- dune-release
- electrod
- ethernet
- ezxenstore
- facteur
-
functoria
>= "2.0.0"
-
git
>= "1.8.0"
- git-paf
-
git-unix
>= "1.11.1" & < "2.0.0" | >= "3.0.0"
- github-hooks
- glicko2
- happy-eyeballs
- happy-eyeballs-lwt
- happy-eyeballs-mirage
- horned_worm
- http-lwt-client
- httpcats
- hvsock
-
irc-client
>= "0.7.0"
-
irmin
>= "0.11.0"
- irmin-bench
-
irmin-chunk
>= "2.3.0"
- irmin-cli
-
irmin-fs
>= "2.3.0"
-
irmin-git
>= "2.3.0"
-
irmin-graphql
>= "2.5.0"
-
irmin-http
>= "2.3.0"
- irmin-layers
-
irmin-mem
>= "2.3.0"
-
irmin-pack
>= "2.3.0"
-
irmin-test
>= "2.3.0"
-
irmin-unix
>= "2.3.0"
- irmin-watcher
-
jupyter
>= "2.3.0"
-
jupyter-kernel
>= "0.6"
- kappa-library
- lambda-runtime
-
lambda-term
>= "3.3.1"
- letsencrypt
- letsencrypt-app
- letsencrypt-dns
-
linol
>= "0.3"
-
logs-async
< "1.3"
-
logs-async-reporter
< "1.3"
- logs-ppx
- logs-syslog
-
lwt-parallel
>= "1.0.0"
-
mdx
< "1.9.0"
-
metrics-lwt
>= "0.2.0"
- metrics-mirage
- metrics-rusage
-
mirage
>= "2.9.0" & < "4.5.0"
- mirage-block-combinators
- mirage-block-lwt
-
mirage-block-unix
>= "2.2.0"
-
mirage-block-xen
>= "1.4.0"
-
mirage-channel
>= "4.0.0"
- mirage-channel-lwt
-
mirage-crypto-rng
>= "0.7.0"
- mirage-crypto-rng-async
- mirage-crypto-rng-eio
- mirage-crypto-rng-lwt
- mirage-crypto-rng-miou-unix
-
mirage-crypto-rng-mirage
>= "0.8.8"
- mirage-flow-combinators
-
mirage-flow-lwt
>= "1.4.0"
-
mirage-flow-unix
>= "1.4.0"
- mirage-logs
- mirage-nat
- mirage-net-flow
-
mirage-net-macosx
>= "1.2.0"
-
mirage-net-solo5
>= "0.2.0"
-
mirage-net-unix
>= "2.6.0"
-
mirage-net-xen
>= "1.7.0"
-
mirage-qubes
>= "0.2"
-
mirage-qubes-ipv4
< "0.9.4"
-
mirage-runtime
< "4.5.0"
-
mirage-solo5
>= "0.2.0" & < "0.6.1"
-
mirage-unix
>= "3.0.0" & < "4.0.0"
-
mirage-vnetif
>= "0.4.0"
- mirage-vnetif-stack
-
mirage-xen
>= "3.0.0"
-
mrmime
>= "0.5.0"
-
mrt-format
>= "0.3.0"
- mssql
-
multipart_form
>= "0.2.0"
- multipart_form-eio
- multipart_form-lwt
- netchannel
-
nsq
>= "0.2.4"
- obatcher
- obuilder
- ocluster
- ocluster-worker
-
ocplib-simplex
>= "0.5"
- octez-distributed-lwt-internal
- octez-injector
- octez-internal-libs
- octez-libs
- octez-plonk
-
odig
< "0.0.4"
-
odoc
>= "2.0.0" & < "2.1.0"
- oidc
- omigrate
- opam-ci
- opam-graph
-
opium
>= "0.17.0"
- oskel
- owork
- ozulip
- paf
- paf-cohttp
- pf-qubes
-
pgx_lwt
>= "1.0"
- pgx_lwt_mirage
- piaf
-
ppx_irmin
>= "3.0.0"
-
prometheus-app
>= "1.0"
-
protocol-9p
>= "0.5.1"
- protocol-9p-tool
- protocol-9p-unix
- qcow
-
qcow-format
>= "0.4"
- qcow-tool
- rotor
-
sendmail
>= "0.2.0"
-
shared-block-ring
>= "3.0.0"
-
soupault
< "3.2.0"
-
spin
>= "0.6.0"
- spoke
- swapfs
-
tcpip
>= "3.0.0"
-
tezos-context
>= "13.0"
-
tiny_httpd
>= "0.16"
-
tiny_httpd_camlzip
>= "0.16"
-
tls
>= "0.12.0"
- toc
- topkg-care
- twirp_core
- u2f
- uring
- uspf
-
utop
>= "2.10.0"
- vendredi
- vpnkit
- webauthn
- win-eventlog
-
x509
>= "0.11.0"
- xapi-stdext-pervasives
- yaml
Conflicts (2)
-
js_of_ocaml
>= "3.4.0"
-
cmdliner
< "0.9.8"