Module Easy_logging__.Handlers
type log_formatter= Easy_logging__.Logging_types.log_item -> stringType definitions
type filter= Easy_logging__.Logging_types.log_item -> booltype t={mutable fmt : log_formatter;mutable level : Easy_logging__.Logging_types.level;mutable filters : filter list;output : string -> unit;}Type of a handler
Handlers creation helpers
module CliHandler : sig ... endModule to create handlers that
outputto stdout orstderr.
module FileHandler : sig ... endModule to create handlers that output to a file.
type config={file_handlers : FileHandler.config;}
val default_config : config
type desc=|Cli of Easy_logging__.Logging_types.level|CliErr of Easy_logging__.Logging_types.level|File of string * Easy_logging__.Logging_types.level|RotatingFile of string * Easy_logging__.Logging_types.level * int * int
Handlers setup
val set_level : t -> Easy_logging__.Logging_types.level -> unitSets the level of a handler.
val set_formatter : t -> log_formatter -> unitSets the formatter of a handler.
val apply : t -> Easy_logging__.Logging_types.log_item -> unitAuxiliary function.