chemfiles::LoggerThe Logger class is a singleton class providing logging facilities.
Public Type
The LogLevel control what will be logged and what will be dismissed.
Values:
NONE = = 0 - No logging at all.
ERROR = = 1 - Logging only errors.
WARNING = = 2 - Logging errors and warnings.
INFO = = 3 - Logging errors, warnings and informations.
DEBUG = = 4 - Logging everything and debug informations.
Public Static Functions
level(LogLevel)Set the logging level.
level()Get the current logging level.
log_to_file(const std::string & filename)Set the file for logging.
log_to_stdout()Make the logger output to stdout.
log_to_stderr()Make the logger output to stderr.
log_to_stdlog()Make the logger output to stdlog.
out(LogLevel level)Get the singleton out stream.