package nloge

  1. Overview
  2. Docs

Module Nloge.LevelSource

Sourcetype t = [
  1. | `Emergency
  2. | `Alert
  3. | `Critical
  4. | `Error
  5. | `Warning
  6. | `Notice
  7. | `Info
  8. | `Debug
]

syslog level

Sourceval compare : t -> t -> Ppx_deriving_runtime.int
Sourcetype Effect.t +=
  1. | Get : t Effect.t
    (*

    Get refers current logging level.

    *)
Sourceval get_level : unit -> t
Sourceval parse : string -> [> `Alert | `Critical | `Debug | `Emergency | `Error | `Info | `Notice | `Warning ] option
Sourceval pp : Format.formatter -> t -> unit
Sourceval show : t -> string