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 on 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.
Commercial Use
Modify
Distribute
Hold Liable
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryAug 13 2026 — Sep 12 2026
|
12 Month SummarySep 12 2025 — Sep 12 2026
|