package mirage

  1. Overview
  2. Docs
type syslog
val syslog : syslog Functoria.typ
type syslog_config = {
  1. hostname : string;
  2. server : Ipaddr.t option;
  3. port : int option;
  4. truncate : int option;
}
val syslog_config : ?port:int -> ?truncate:int -> ?server:Ipaddr.t -> string -> syslog_config
val syslog_udp : ?config:syslog_config -> ?console:Mirage_impl_console.console Functoria.impl -> ?clock:Mirage_impl_pclock.pclock Functoria.impl -> Mirage_impl_stack.stackv4v6 Functoria.impl -> syslog Functoria.impl
val syslog_tcp : ?config:syslog_config -> ?console:Mirage_impl_console.console Functoria.impl -> ?clock:Mirage_impl_pclock.pclock Functoria.impl -> Mirage_impl_stack.stackv4v6 Functoria.impl -> syslog Functoria.impl
val syslog_tls : ?config:syslog_config -> ?keyname:string -> ?console:Mirage_impl_console.console Functoria.impl -> ?clock:Mirage_impl_pclock.pclock Functoria.impl -> Mirage_impl_stack.stackv4v6 Functoria.impl -> Mirage_impl_kv.ro Functoria.impl -> syslog Functoria.impl
OCaml

Innovation. Community. Security.