You can search for identifiers within the package.
in-package search v0.2.0
nloge
Nloge.Level
type t = [
| `Emergency
| `Alert
| `Critical
| `Error
| `Warning
| `Notice
| `Info
| `Debug
]
t represents syslog-style levels
t
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
type Effect.t +=
| Get : t Effect.t
Get refers to the current logging level.
Get
val get_level : unit -> t
val parse : string -> t option
parses upper, lower, and initial capital letter cases.
parse
parse "DEBUG" = parse "debug" = parse "Debug" = Some `Debug
val pp : Format.formatter -> t -> unit
pp prints level with upper capital
pp
pp Format.std_formatter `Debug (* -> DEBUG *)
val show : t -> string