module MakeChannel: functor (
ChannelSpec
:
sig
val oc : Pervasives.out_channel
end
) ->
LOGGER
Functor for creating channel loggers
Parameters: |
ChannelSpec |
: |
sig val oc : out_channel end
|
|
Setting and accessing log levels
val set_lev : Syslog.lev -> unit
Set minimum log level
val get_lev : unit -> Syslog.lev
Get minimum log level
val may_log : Syslog.lev -> bool
Test whether a log level may be logged.
Logging functions
val generic : Syslog.lev -> 'a Loggers.logger
val debug : 'a Loggers.logger
val info : 'a Loggers.logger
val notice : 'a Loggers.logger
val warning : 'a Loggers.logger
val err : 'a Loggers.logger
val crit : 'a Loggers.logger
val alert : 'a Loggers.logger
val emerg : 'a Loggers.logger