package easy_logging

  1. Overview
  2. Docs

Default implementation of a Logging module.

class logger : ?parent:logger option -> string -> object ... end
val make_logger : ?propagate:bool -> string -> log_level -> Default_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.

OCaml

Innovation. Community. Security.