package easy_logging

  1. Overview
  2. Docs

Module Logging_internals.Logging_typesSource

Types used in easy_logging.

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
Sourcetype log_item = {
  1. level : level;
  2. logger_name : string;
  3. msg : string;
  4. tags : string list;
  5. timestamp : float;
}
Sourcemodule type HandlersT = sig ... end