Module Omod_support.Log
Logging.
type t
=
{
f : a. ('a, Stdlib.Format.formatter, unit) Stdlib.Pervasives.format -> 'a;
}
The type for logging functions.
val nil : t
nil
is a logging function that drops logging.
val std : t
std
is a logging function that format onFormat
.std_formatter and prepends messages by the executable basename.
val time : t -> string -> (unit -> 'a) -> 'a
time l label f
logs the processor time off ()
onl
.