module Log:Message logging.sig..end
The default log level is 0, only messages logged at level 0 are output.
The default output destination is Format.std_formatter.
val set_log_formatter : Format.formatter -> unitval set_log_level : int -> unitInvalid_argument "negative level" if you attempt to set
the current log level to a negative valueval log : (Format.formatter -> 'a -> unit) -> int -> 'a -> unitLog.log print level x outputs x using print, if
level <= current log levelInvalid_argument "negative level" if level < 0val log_int : int -> int -> unitLog.log_int level i logs i, if level <= current log levelInvalid_argument "negative level" if level < 0val log_float : int -> float -> unitLog.log_float level j logs j, if level <= current log levelInvalid_argument "negative level" if level < 0val log_string : int -> string -> unitLog.log_string level s logs s, if level <= current log levelInvalid_argument "negative level" if level < 0val log_bool : int -> bool -> unitLog.log_bool level b logs b, if level <= current log levelInvalid_argument "negative level" if level < 0val log_time : int -> Time.time -> unitLog.log_time level t logs seconds of processor time since
t, if level <= current log levelInvalid_argument "negative level" if level < 0val log_flush : int -> unit -> unitLog.log_flush level () flushes the log output, if level
<= current log levelInvalid_argument "negative level" if level < 0val log_newline : int -> unit -> unitLog.log_newline level () outputs a new line and flushes
the log output, if level <= current log levelInvalid_argument "negative level" if level < 0