5#ifndef MOLYBDEN_LOGGING_HPP
6#define MOLYBDEN_LOGGING_HPP
8#include "molybden/base/internal/log_message.hpp"
14enum class Destination { kStandardOutput, kFile };
84#define LOG(severity) molybden::internal::LogMessage(__FILE__, __LINE__, \
85 static_cast<molybden::LogLevel>(molybden::internal::LEVEL_##severity))
Allows configuring the application logging.
Definition logging.hpp:19
Destination destination
The logging output destination.
Definition logging.hpp:29
std::string log_file
The absolute or relative path to the log file.
Definition logging.hpp:34
bool verbose_logging_enabled
Enables the verbose logging.
Definition logging.hpp:39
bool enabled
Indicates whether the logging is enabled.
Definition logging.hpp:24
LogLevel log_level
The log level of messages that must be written to the log file/standard output.
Definition logging.hpp:47