Module Log

module Log: sig  end
Logging info on the console. When console is not available (not in video mode) informations are logged on stderr

val info : string -> unit
Information message
val error : string -> unit
Error message
val debug : string -> unit
Debug message
val fatal : string -> 'a
A fatal message. Use it only if the program cannot continue. It uses Pervasives.exit 1 to terminate the program with exit code 1.
val get : unit -> (string * string) list
get () is used to get the contents of log. It can be used by a user console
val remember_debug : bool Pervasives.ref -> string -> unit
Internal. Logs a debug message that is associated with a variable that sais if it should be shown on the console
val dump : string -> unit