Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
t
represents syslog-style levels
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val get_level : unit -> t
val parse : string -> t option
parse
s upper, lower, and initial capital letter cases.
parse "DEBUG" = parse "debug" = parse "Debug" = Some `Debug
val pp : Format.formatter -> t -> unit
pp
prints level with upper capital
pp Format.std_formatter `Debug (* -> DEBUG *)
val show : t -> string