package logs
Install
Dune Dependency
Authors
Maintainers
Sources
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.
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)
-
topkg
build
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.03.0"
Dev Dependencies (1)
-
mtime
with-test
- acgtk
- activitypub
- albatross
- alcotest-lwt
- alcotest-mirage
- apero-core
- apero-net
- apero-time
- api-watch
- arp
-
asl
>= "0.8"
- awa
- awa-mirage
- aws-config
- benchpress
- benchpress-server
- bos
- builder
- builder-web
-
bun
>= "0.3.3"
- ca-certs
- ca-certs-nss
- cactus
- caisar
-
calculon
>= "0.6"
- caldav
- camltc
- capnp-rpc
-
capnp-rpc-lwt
< "2.0"
- capnp-rpc-net
- capnp-rpc-unix
-
caqti
>= "0.11.0"
-
caqti-async
>= "2.1.1"
- caqti-eio
- caqti-lwt
- caqti-miou
- caqti-mirage
- carton
- carton-git
-
carton-lwt
< "1.0.0"
- carton-miou-unix
- catapult-daemon
- chamelon
- chamelon-unix
- chamo
- charrua-client
-
charrua-unix
>= "2.0.0"
- cmdtui-lambda-term
-
cohttp
>= "6.0.0~beta2"
- cohttp-async
-
cohttp-eio
>= "6.0.0"
-
cohttp-lwt
>= "2.1.3"
-
cohttp-lwt-jsoo
>= "5.3.0"
- cohttp-lwt-unix
- colibrics
-
colombe
< "0.2.0"
-
commons
>= "1.8.0"
- compsort
- conduit
-
conduit-lwt-unix
>= "2.3.0"
-
conex
< "0.10.0"
- conex-mirage-crypto
- craml
- css
- current
- current-albatross-deployer
- current_docker
- current_examples
- current_git
- current_github
- current_gitlab
- current_ocluster
- current_rpc
- current_slack
- current_web
- dap
- datakit-server
- diffast-git-cli
- diskuvbox
- distributed-lwt
- distributed-uwt
- dkim
- dkim-bin
- dkim-mirage
-
dkml-install-installer
< "0.5.1"
- dkml-install-runner
-
dns
>= "4.4.1"
- dns-certify
- dns-cli
-
dns-client
< "7.0.3"
- dns-forward
-
dns-resolver
>= "10.1.0"
- dns-server
- dnssd
- dnssec
- dockerfile-cmd
- docteur
- docteur-unix
- dolmen_lsp
- dream
- dream-cli
-
duff
< "0.3"
- dune-release
- dunolint
- earlybird
- eio_linux
- electrod
- elm_playground_native
- ethernet
- facteur
-
forester
>= "5.0"
- functoria
- git
- git-cohttp
- git-cohttp-unix
-
git-kv
>= "0.2.0"
- git-mirage
- git-paf
-
git-unix
>= "3.2.0"
- github-hooks
- glicko2
- guardian
- happy-eyeballs
- happy-eyeballs-lwt
- happy-eyeballs-miou-unix
- happy-eyeballs-mirage
- horned_worm
- http-lwt-client
- httpcats
- hvsock
- index
-
index-bench
>= "1.4.0"
-
irc-client
>= "0.7.0"
- irmin
- irmin-bench
- irmin-chunk
- irmin-cli
- irmin-client
- irmin-fs
- irmin-git
- irmin-graphql
- irmin-http
- irmin-layers
- irmin-pack
- irmin-server
- irmin-test
- irmin-unix
- irmin-watcher
- jupyter
-
jupyter-kernel
>= "0.6"
-
kappa-agents
>= "4.1.3"
-
kappa-binaries
>= "4.1.3"
- kappa-library
- kaun
- kmt
- lambda-runtime
-
lambda-term
>= "3.3.1"
- ldp
- letsencrypt
- letsencrypt-app
- letsencrypt-dns
-
linol
>= "0.3"
- logs-async
- logs-async-reporter
- logs-ppx
- logs-syslog
- lwt-parallel
-
MlFront_Cli
< "2.3.1"
- MlFront_Errors
- MlFront_Logs
- mdx
- mehari
- mehari-eio
-
memtrace_viewer
< "v0.15.0"
- metrics-lwt
- metrics-rusage
- mimic
- miou
-
mirage
>= "4.0.0"
- mirage-block-combinators
- mirage-block-lwt
- mirage-block-unix
- mirage-block-xen
-
mirage-channel
>= "4.0.1"
- mirage-channel-lwt
- mirage-crypto-rng
- mirage-crypto-rng-async
- mirage-crypto-rng-eio
- mirage-crypto-rng-lwt
- mirage-crypto-rng-miou-unix
- mirage-crypto-rng-mirage
- mirage-flow-combinators
- mirage-flow-lwt
- mirage-flow-unix
- mirage-logs
- mirage-monitoring
- mirage-nat
-
mirage-net-macosx
>= "1.2.0"
- mirage-net-solo5
- mirage-net-unikraft
- mirage-net-unix
- mirage-net-xen
- mirage-qubes
- mirage-runtime
- mirage-vnetif
- mirage-xen
- mqtt
-
mrmime
>= "0.5.0"
- mssql
-
multipart_form
>= "0.2.0"
- multipart_form-eio
- multipart_form-lwt
- nsq
- nx-datasets
- obatcher
- obuilder
- ocluster
- ocluster-worker
-
ocplib-simplex
>= "0.5"
- octez-distributed-lwt-internal
- octez-injector
- octez-internal-libs
- octez-libs
- octez-plonk
- odoc-driver
- oidc
- omigrate
- opam-ci
- opam-graph
- opium
- oskel
- owork
- ozulip
- paf
- paf-cohttp
- pf-qubes
-
pgx_lwt
>= "1.0"
- pgx_lwt_mirage
- piaf
- pplumbing
-
ppx_irmin
>= "3.0.0"
-
progress
>= "0.2.0"
-
prometheus-app
>= "1.0"
- protocol-9p
- protocol-9p-tool
- protocol-9p-unix
- qcow
- qcow-tool
- qcow-types
- randii
-
rdf
>= "0.13.0"
- rotor
-
sendmail
>= "0.2.0"
- shared-block-ring
-
sihl
< "0.2.0" | >= "0.3.0~rc2"
- sihl-core
-
slipshow
>= "0.3.0"
- smaws-lib
- snf_mcp
- soupault
-
spin
>= "0.6.0"
- spoke
- starred_ml
- statocaml
- stk
- stk_iconv
-
stog
>= "0.20.0"
- swapfs
- syslog-rfc5424
- tcpip
-
tezos-context
>= "16.0"
- timmy-lwt
-
tiny_httpd
>= "0.16"
-
tiny_httpd_camlzip
>= "0.16"
-
tls
>= "0.12.8"
-
tls-eio
>= "0.17.5"
- toc
- topkg-care
- twirp_core
- um-abt
- uring
- uspf
-
utop
>= "2.10.0"
- vendredi
- vpnkit
- wayland
- webauthn
- win-eventlog
-
x509
>= "0.11.2"
- xapi-stdext-pervasives
-
xtmpl
>= "1.0.0"
- yaml
- yocaml_runtime
-
yocaml_unix
< "2.0.0"
Conflicts (2)
-
js_of_ocaml
< "3.3.0"
-
cmdliner
< "0.9.8"