plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
Module Plebeia . Log
type level =
| Debug
| Info
| Notice
| Warning
| Error
| Fatal
val threshold : level Stdlib.ref

Level threshold for the default printer. Report only events equal to or more seirous than this will be printed. By default, set at Notice.

Note that this is only for the default printer.

type t = {
f : 'a. level -> ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a;
}
val default : t

Default logging: immediate output to stderr

val set : t -> unit

Replace the reporting printer.

val log : level -> ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val debug : ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val info : ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val notice : ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val warning : ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val error : ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val fatal : ( 'a, Stdlib.Format.formatter, unit, unit ) Stdlib.format4 -> 'a
val lwt_debug : ( 'a, Stdlib.Format.formatter, unit, unit Lwt.t ) Stdlib.format4 -> 'a
val lwt_info : ( 'a, Stdlib.Format.formatter, unit, unit Lwt.t ) Stdlib.format4 -> 'a
val lwt_notice : ( 'a, Stdlib.Format.formatter, unit, unit Lwt.t ) Stdlib.format4 -> 'a
val lwt_warning : ( 'a, Stdlib.Format.formatter, unit, unit Lwt.t ) Stdlib.format4 -> 'a
val lwt_error : ( 'a, Stdlib.Format.formatter, unit, unit Lwt.t ) Stdlib.format4 -> 'a
val lwt_fatal : ( 'a, Stdlib.Format.formatter, unit, unit Lwt.t ) Stdlib.format4 -> 'a