Enumeration of log message levels
Module OgamlUtils.Log
Log systemThis module provides a very simple log system to use with Ogaml
Type of a log
Creates a log
- output : output channel of log messages (defaults to stderr)
- debug : if false, debug messages will be ignored (defaults to true)
- color : if false, messages will not be colored (defaults to true)
- short : if true, timestamps will be shortened (defaults to false)
- output : output channel of log messages (defaults to stderr)
- debug : if false, debug messages will be ignored (defaults to true)
- color : if false, messages will not be colored (defaults to true)
- short : if true, timestamps will be shortened (defaults to false)
Log to the standard output, that would be obtained by calling
create ()
Logs a message
Logs a debug message
Logs a warn message
Logs an error message
Logs an info message
Logs a fatal error message