sig
class type generic_config =
object
method log_component : string
method log_format : string
method log_max_level : Netplex_types.level
method log_subchannel : string
end
val channel_logger : Pervasives.out_channel -> Netplex_types.logger
val channel_logger_from_obj :
Netplex_log.generic_config ->
Pervasives.out_channel -> Netplex_types.logger
val stderr_logger_factory : Netplex_types.logger_factory
val file_logger : string -> Netplex_types.logger
val file_logger_from_obj :
Netplex_log.generic_config -> string -> Netplex_types.logger
val file_logger_factory : Netplex_types.logger_factory
class type multi_file_config =
object
method log_component : string
method log_directory : string
method log_files :
(string * string *
[ `Alert
| `All
| `Crit
| `Debug
| `Emerg
| `Err
| `Info
| `Notice
| `Warning ] * string * string)
list
method log_format : string
method log_max_level : Netplex_types.level
method log_subchannel : string
end
val multi_file_logger :
Netplex_log.multi_file_config -> Netplex_types.logger
val multi_file_logger_factory : Netplex_types.logger_factory
class type syslog_config =
object
method log_component : string
method log_facility : Netsys_posix.syslog_facility
method log_format : string
method log_identifier : string
method log_max_level : Netplex_types.level
method log_subchannel : string
end
val syslog_logger : Netplex_log.syslog_config -> Netplex_types.logger
val syslog_logger_factory : Netplex_types.logger_factory
val logger_factories : Netplex_types.logger_factory list
val level_weight : Netplex_types.level -> int
val level_of_string : string -> Netplex_types.level
end