Module Easy_logging_yojson.Logging
type level
= Easy_logging__.Logging_types.level
=
|
Debug
|
Trace
|
Info
|
Warning
|
Error
|
Flash
|
NoLevel
val show_level : Easy_logging__.Logging_types.level -> string
val pp_level : Stdlib.Format.formatter -> Easy_logging__.Logging_types.level -> unit
val debug : bool Stdlib.ref
val root_logger : logger
module Infra : sig ... end
val handlers_config : Handlers.config Stdlib.ref
val set_handlers_config : Handlers.config -> unit
val get_logger : string -> logger
val make_logger : ?propagate:bool -> string -> level -> Handlers.desc list -> logger
type config_logger
= Easy_logging_yojson__Easy_logging_yojson_aux.MakeLogging(Handlers).config_logger
=
{
name : string;
level : level;
handlers : Handlers.desc list;
propagate : bool;
}
val config_logger_of_yojson : Yojson.Safe.t -> config_logger Ppx_deriving_yojson_runtime.error_or
type global_config
= Easy_logging_yojson__Easy_logging_yojson_aux.MakeLogging(Handlers).global_config
=
{
handlers_config : Handlers.config;
loggers_config : config_logger list;
}
val global_config_of_yojson : Yojson.Safe.t -> global_config Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> global_config Ppx_deriving_yojson_runtime.error_or
val load_global_config : Yojson.Safe.t -> unit
val load_global_config_str : string -> unit
val load_global_config_file : string -> unit