CatapultServer  v0.5.0.1 (Elephant)
catapult::utils::LoggingBootstrapper Class Referencefinal

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< Implm_pImpl
 

Detailed Description

Bootstraps boost logging.

Constructor & Destructor Documentation

◆ LoggingBootstrapper()

catapult::utils::LoggingBootstrapper::LoggingBootstrapper ( )

Creates a bootstrapper.

◆ ~LoggingBootstrapper()

catapult::utils::LoggingBootstrapper::~LoggingBootstrapper ( )
default

Destroys the bootstrapper.

Member Function Documentation

◆ addConsoleLogger()

void catapult::utils::LoggingBootstrapper::addConsoleLogger ( const BasicLoggerOptions options,
const LogFilter filter 
)

Adds a console logger with the specified options and filter.

◆ addFileLogger()

void catapult::utils::LoggingBootstrapper::addFileLogger ( const FileLoggerOptions options,
const LogFilter filter 
)

Adds a file logger with the specified options and filter.

Member Data Documentation

◆ m_pImpl

std::unique_ptr<Impl> catapult::utils::LoggingBootstrapper::m_pImpl
private

The documentation for this class was generated from the following files: