CatapultServer
v0.5.0.1 (Elephant)
|
Filter used for filtering logs by level and/or component. More...
Classes | |
class | Impl |
Public Member Functions | |
LogFilter (LogLevel level) | |
Creates a log filter that sets the default log level across all components. More... | |
~LogFilter () | |
Destroys the log filter. More... | |
boost::log::filter | toBoostFilter () const |
Creates an equivalent boost log filter. More... | |
void | setLevel (const char *name, LogLevel level) |
Sets the log level for the component specified by name. More... | |
Private Attributes | |
std::unique_ptr< Impl > | m_pImpl |
Filter used for filtering logs by level and/or component.
|
explicit |
Creates a log filter that sets the default log level across all components.
|
default |
Destroys the log filter.
void catapult::utils::LogFilter::setLevel | ( | const char * | name, |
LogLevel | level | ||
) |
Sets the log level for the component specified by name.
boost::log::filter catapult::utils::LogFilter::toBoostFilter | ( | ) | const |
Creates an equivalent boost log filter.
|
private |