Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (67 sloc) 2.4 KB
opam-version: "2.0"
maintainer: "Hannes Mehnert <>"
authors: ["Hannes Mehnert <>"]
homepage: ""
doc: ""
dev-repo: "git+"
bug-reports: ""
license: "ISC"
depends: [
"ocaml" {>= "4.03.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"syslog-message" {= "0.0.2"}
depopts: [
"x509" "tls" "cstruct"
"mirage-console-lwt" "mirage-clock" "mirage-stack-lwt" "ipaddr"
conflicts: [
"mirage-types-lwt" {< "3.0.0"}
"x509" {< "0.6.0"}
"tls" {< "0.8.0"}
"mirage-clock" {>= "3.0.0"}
build: [
[ "ocaml" "pkg/" "build" "--pinned" "%{pinned}%"
"--with-lwt" "%{lwt:installed}%"
"--with-lwt-tls" "%{lwt+x509+tls+cstruct:installed}%"
"--with-mirage" "%{lwt+mirage-stack-lwt+mirage-console-lwt+mirage-clock+cstruct+ipaddr:installed}%"
"--with-mirage-tls" "%{lwt+mirage-kv-lwt+x509+tls+mirage-stack-lwt+mirage-console-lwt+mirage-clock+cstruct+ipaddr:installed}%"
synopsis: "Logs output via syslog"
description: """
This library provides log reporters using syslog over various transports (UDP,
TCP, TLS) with various effectful layers: Unix, Lwt, MirageOS. It integrates the
[Logs]( library, which provides logging
infrastructure for OCaml, with the
[syslog-message]( library, which provides
encoding and decoding of syslog messages ([RFC
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`.
Since MirageOS3, [syslog is well integrated](
let logger =
(syslog_config ~truncate:1484 "" (Ipaddr.V4.of_string_exn ""))
register "myunikernel" [
~deps:[abstract logger]
url {
checksum: "md5=c266a05c9768f8c75b506daee5715f4b"
You can’t perform that action at this time.