class type logger =
A logger receives log messages
method log_subch :
subchannel:string -> level:level -> message:string -> unit
Receive a log
component. The component
string is the name of the socket service emitting the message.
Optionally, one can specify a
subchannel when a single component
needs to write to several log files. For example, a
"access" could select the access log of a webserver.
The main log file is selected by passing the empty string as
method log :
component:string -> level:level -> message:string -> unit
subchannel is set to the empty string.
This means that the message is sent to the main log file of the
method reopen :
unit -> unit
Reopen the log files