CatapultServer
v0.5.0.1 (Elephant)
|
Bootstraps boost logging. More...
Classes | |
class | Impl |
Public Member Functions | |
LoggingBootstrapper () | |
Creates a bootstrapper. More... | |
~LoggingBootstrapper () | |
Destroys the bootstrapper. More... | |
void | addConsoleLogger (const BasicLoggerOptions &options, const LogFilter &filter) |
Adds a console logger with the specified options and filter. More... | |
void | addFileLogger (const FileLoggerOptions &options, const LogFilter &filter) |
Adds a file logger with the specified options and filter. More... | |
Private Attributes | |
std::unique_ptr< Impl > | m_pImpl |
Bootstraps boost logging.
catapult::utils::LoggingBootstrapper::LoggingBootstrapper | ( | ) |
Creates a bootstrapper.
|
default |
Destroys the bootstrapper.
void catapult::utils::LoggingBootstrapper::addConsoleLogger | ( | const BasicLoggerOptions & | options, |
const LogFilter & | filter | ||
) |
Adds a console logger with the specified options and filter.
void catapult::utils::LoggingBootstrapper::addFileLogger | ( | const FileLoggerOptions & | options, |
const LogFilter & | filter | ||
) |
Adds a file logger with the specified options and filter.
|
private |