Base Log handler class that utilises Boost logging to create log sinks. More...
#include <ored/utilities/log.hpp>
Public Member Functions | |
virtual | ~IndependentLogger () |
Destructor. More... | |
virtual void | removeSinks ()=0 |
std::vector< std::string > & | messages () |
void | clear () |
const std::string & | name () const |
Returns the Logger name. More... | |
Protected Member Functions | |
IndependentLogger (const std::string &name) | |
Constructor. More... | |
Protected Attributes | |
std::vector< std::string > | messages_ |
Private Attributes | |
std::string | name_ |
Base Log handler class that utilises Boost logging to create log sinks.
This type of logger should only be received via Log::registerIndependentLoggers(). It is responsible for creating and maintaining Boost log sink/s and nothing more.
|
virtual |
|
protected |
Constructor.
Implementations must provide a logger name
name | the logger name |
Definition at line 281 of file log.hpp.
|
pure virtual |
Implemented in ProgressLogger, StructuredLogger, and EventLogger.
std::vector< std::string > & messages | ( | ) |
const std::string & name | ( | ) | const |