Go to the source code of this file.
|
enum | catapult::utils::LogLevel {
catapult::utils::LogLevel::Trace = boost::log::trivial::trace,
catapult::utils::LogLevel::Debug = boost::log::trivial::debug,
catapult::utils::LogLevel::Info = boost::log::trivial::info,
catapult::utils::LogLevel::Warning = boost::log::trivial::warning,
catapult::utils::LogLevel::Error = boost::log::trivial::error,
catapult::utils::LogLevel::Fatal = boost::log::trivial::fatal,
catapult::utils::LogLevel::Min = Trace,
catapult::utils::LogLevel::Max = Fatal
} |
| Catapult log levels. More...
|
|
enum | catapult::utils::LogSinkType { catapult::utils::LogSinkType::Sync,
catapult::utils::LogSinkType::Async
} |
| Catapult log sink types. More...
|
|
enum | catapult::utils::LogColorMode { catapult::utils::LogColorMode::Ansi,
catapult::utils::LogColorMode::AnsiBold,
catapult::utils::LogColorMode::None
} |
| Catapult (console) log color modes. More...
|
|
◆ CATAPULT_LOG
#define CATAPULT_LOG |
( |
|
SEV | ) |
|
Value:
::catapult::utils::log::global_logger::get(), \
(static_cast<::catapult::utils::LogLevel>(boost::log::trivial::SEV)))
Writes a log entry to the default logger with SEV severity.
◆ CATAPULT_LOG_LEVEL
Writes a log entry to the default logger with LEVEL severity.
◆ CATAPULT_LOG_WITH_LOGGER_LEVEL
Writes a log entry to LOGGER with LEVEL severity.
◆ CATAPULT_LOG_WITH_LOGGER_LEVEL_TAG
#define CATAPULT_LOG_WITH_LOGGER_LEVEL_TAG |
( |
|
LOGGER, |
|
|
|
LEVEL, |
|
|
|
TAG |
|
) |
| |
Value:BOOST_LOG_STREAM_WITH_PARAMS( \
(LOGGER), \
(::catapult::utils::log::keywords::line = (static_cast<unsigned int>(__LINE__))) \
(::catapult::utils::log::keywords::subcomponent = (TAG)) \
(::boost::log::keywords::severity = (static_cast<boost::log::trivial::severity_level>(LEVEL))))