package logs-syslog
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7b6e4574d16a6d8f6818b84a21a8ad20d95a8ddee17f1b6ca9d21935e946a65c
md5=44e53e4d5e033a179e524fabaeccb01a
README.md.html
Logs-syslog - Logs output via syslog
0.0.2
This library provides log reporters over syslog with various effectful layers: Unix, Lwt, MirageOS. It integrated the Logs library, which provides logging infrastructure for OCaml, with the syslog-message library, which provides encoding and decoding of syslog messages (RFC 3164).
Six ocamlfind libraries are provided: the bare Logs-syslog
, a minimal dependency Unix Logs-syslog-unix
, a Lwt one Logs-syslog-lwt
, another one with Lwt and TLS (RFC 5425) support Logs-syslog-lwt-tls
, a MirageOS one Logs-syslog-mirage
, and a MirageOS one using TLS Logs-syslog-mirage-tls
.
Documentation
API documentation is available online.
Installation
This is targeting other libraries (apart from syslog-message) which are released to opam-repository.
opam pin add syslog-message --dev-repo
opam pin add logs-syslog https://github.com/hannesm/logs-syslog.git
Use the dev branch for Mirage3 support.