package logs-syslog

  1. Overview
  2. Docs
Logs output via syslog

Install

Dune Dependency

Authors

Maintainers

Sources

logs-syslog-0.0.1.tbz
sha256=06a140682b30e4e46243d93b106024c727aabcfaf4af6455cb8f49ec2b0baffa
md5=1a293d1396ab2c360cfecca5bb29c569

Description

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.

Published: 01 Nov 2016

README

Logs-syslog - Logs output via syslog

0.0.1

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.

Dependencies (8)

  1. result
  2. syslog-message = "0.0.2"
  3. ptime
  4. logs
  5. topkg build
  6. ocamlbuild build
  7. ocamlfind build
  8. ocaml >= "4.02.0"

Dev Dependencies

None

Used by

None

Conflicts (4)

  1. tls >= "0.16.0"
  2. x509 >= "0.7.0"
  3. mirage-types >= "3.0.0"
  4. lwt >= "4.0.0"
OCaml

Innovation. Community. Security.