package easy_logging

  1. Overview
  2. Docs

Makes a Logging module from a Handlers module.

Parameters

module H : sig ... end

Signature

type level =
  1. | Debug
  2. | Trace
  3. | Info
  4. | Warning
  5. | Error
  6. | Flash
  7. | NoLevel

Possible level of a log item.

val level_of_string : string -> (level, string) result
val show_level : level -> string
val pp_level : Format.formatter -> level -> unit
module type HandlersT = sig ... end
val debug : bool ref

See Easy_logging.Logging.logger for documentation

class logger : ?parent:logger option -> string -> object ... end

See Easy_logging.Logging.logger for documentation

val get_logger : string -> logger
val make_logger : ?propagate:bool -> string -> level -> H.desc list -> logger
OCaml

Innovation. Community. Security.