package easy_logging

  1. Overview
  2. Docs

Default implementation of a Logging module.

val debug : bool ref
class logger : ?parent:logger option -> string -> object ... end
val make_logger : ?propagate:bool -> string -> Easy_logging__.Logging_types.level -> Handlers.desc list -> logger

make_logger name level handlers_descs creates a new logger instance from the given arguments, then register it internally, and returns it.

val get_logger : string -> logger

Returns a registered logger by name.

val handlers_config : Handlers.config ref
val set_handlers_config : Handlers.config -> unit
OCaml

Innovation. Community. Security.