package easy_logging_yojson

  1. Overview
  2. Docs
type level =
  1. | Debug
  2. | Trace
  3. | Info
  4. | Warning
  5. | Error
  6. | Flash
  7. | NoLevel
val show_level : Easy_logging__.Logging_types.level -> string
val pp_level : Format.formatter -> Easy_logging__.Logging_types.level -> unit
val debug : bool ref
class logger : ?parent:logger option -> string -> object ... end
val root_logger : logger
module Infra : sig ... end
val handlers_config : Handlers.config 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 = {
  1. name : string;
  2. level : level;
  3. handlers : Handlers.desc list;
  4. propagate : bool;
}
type global_config = {
  1. handlers_config : Handlers.config;
  2. loggers_config : config_logger list;
}
val load_global_config : Yojson.Safe.t -> unit
val load_global_config_str : string -> unit
val load_global_config_file : string -> unit
OCaml

Innovation. Community. Security.