package easy_logging

  1. Overview
  2. Docs

Module Easy_logging.MakeLoggingSource

Makes a Logging module from a Handlers module.

Parameters

module H : sig ... end

Signature

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

Possible level of a log item.

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

See Easy_logging.Logging.logger for documentation

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

See Easy_logging.Logging.logger for documentation

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