Module Logging.Mode

type level =
  1. | Normal
    (*

    Normal output

    *)
  2. | Verbose
    (*

    Verbose output

    *)
  3. | TMI
    (*

    Too much information

    *)

Logging levels

type t =
  1. | Disabled
  2. | Enabled of level

Type specifying the logging mode

val enabled : unit -> bool

Returns whether logging is enabled or not

val set_mode : t -> unit

Sets the logging mode

val pp : Stdlib.Format.formatter -> t -> unit

Pretty print function for logging mode type