Skip to content

Logging

Log Level

Hierarchy levels (FATAL, ERROR, ...) must be used for logging.

Logger Guards

To avoid unnecessary computations, logger guards must be used for complex error messages. When logging is switched off, this eliminates the evaluation of unnecessary outputs. If no guards are used, all parameters are computated when the logging framework is called and only discarded in the logger.