Molybden API
|
Allows configuring the application logging. More...
#include <logging.hpp>
Public Attributes | |
bool | enabled = false |
Indicates whether the logging is enabled. | |
Destination | destination = Destination::kStandardOutput |
The logging output destination. | |
std::string | log_file = "molybden.log" |
The absolute or relative path to the log file. | |
bool | verbose_logging_enabled = false |
Enables the verbose logging. | |
LogLevel | log_level = LogLevel::kInfo |
The log level of messages that must be written to the log file/standard output. | |
Allows configuring the application logging.
LogLevel molybden::Logging::log_level = LogLevel::kInfo |
The log level of messages that must be written to the log file/standard output.
Anything at or above this level will be written to the output destination. Anything below this level will be silently ignored. The log level defaults to kInfo.