package easy_logging_yojson

  1. Overview
  2. Docs
type level = Easy_logging__Logging_types.level =
  1. | Debug
  2. | Trace
  3. | Info
  4. | Warning
  5. | Error
  6. | Flash
  7. | NoLevel
val level_of_string : string -> (level, string) Stdlib.result
val show_level : level -> string
val pp_level : Stdlib.Format.formatter -> level -> unit
type log_item = Easy_logging__Logging_types.log_item = {
  1. level : level;
  2. logger_name : string;
  3. msg : string;
  4. tags : string list;
  5. timestamp : float;
}
val level_to_yojson : level -> Yojson.Safe.t
val level_of_yojson : Yojson.Safe.t -> (level, string) Stdlib.result
OCaml

Innovation. Community. Security.