Module Dtools.Log


module Log: sig .. end

val log : ?label:string -> int -> string -> unit
Logs the given string associated with a optional label and a log level.
val logl : ?label:string -> int -> string Lazy.t -> unit
Same as log with lazy evaluation of the string.
val logged : string -> int -> bool
logged label level returns wether the log level level for logging instructions associated with the label label will be considered for logging.
val f : ('a, unit, string) Pervasives.format -> 'a
Printf.sprintf equivalent that should be used for logging.
val start : Dtools.Init.t
An atom that starts the logging.
val stop : Dtools.Init.t
An atom that stops the logging.