Molybden API
Loading...
Searching...
No Matches
molybden::Logging Struct Reference

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.
 

Detailed Description

Allows configuring the application logging.

Member Data Documentation

◆ log_level

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.


The documentation for this struct was generated from the following file: