6 signature MLTON_SYSLOG =
19 val AUTHPRIV : facility
44 val WARNING : loglevel
49 val closelog: unit -> unit
50 val log: loglevel * string -> unit
51 val openlog: string * openflag list * facility -> unit
55 `MLton.Syslog` is a complete interface to the system logging
56 facilities. See `man 3 syslog` for more details.
60 closes the connection to the system logger.
64 logs message `s` at a loglevel `l`.
66 * `openlog (name, flags, facility)`
68 opens a connection to the system logger. `name` will be prefixed to
69 each message, and is typically set to the program name.