Up

Module Level

Signature

type t = [
| `Debug
| `Info
| `Error
]

Describes both the level of a log and the level of a message sent to a log. There is an ordering to levels (`Debug < `Info < `Error), and a log set to a level will never display messages at a lower log level.

val t_of_sexp : Sexplib.Sexp.t -> t
val __t_of_sexp__ : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val compare : t -> t -> int
val __bin_read_t__ : (int -> t) Core.Std.Bin_prot.Read.reader
include Core.Std.Stringable with type t := t
type t
val of_string : string -> t
val to_string : t -> string