5#ifndef MOLYBDEN_LOGGING_HPP
6#define MOLYBDEN_LOGGING_HPP
8#include "molybden/base/internal/log_message.hpp"
14enum class Destination { kStandardOutput, kFile };
83#define LOG(severity) \
84 molybden::internal::LogMessage( \
87 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:28
std::string log_file
The absolute or relative path to the log file.
Definition logging.hpp:33
bool verbose_logging_enabled
Enables the verbose logging.
Definition logging.hpp:38
bool enabled
Indicates whether the logging is enabled.
Definition logging.hpp:23
LogLevel log_level
The log level of messages that must be written to the log file/standard output.
Definition logging.hpp:46