#include <Logger.hpp>
|
void | addSink (boost::shared_ptr< LogSinkBackend > sink) |
| adds a sink to the logging core, equivalent to logSink.enable() More...
|
|
void | addTimeStampToLogger () |
|
bool | findSink (boost::shared_ptr< LogSinkBackend > sink) |
| is the sink found in the logging core More...
|
|
void | removeSink (boost::shared_ptr< LogSinkBackend > sink) |
| removes a sink to the logging core, equivalent to logSink.disable() More...
|
|
Singleton logger class.
Singleton Logger object maintains logging state throughout program execution.
openstudio::LoggerSingleton::~LoggerSingleton |
( |
| ) |
|
destructor, cleans up, writes xml file footers, etc
void openstudio::LoggerSingleton::addSink |
( |
boost::shared_ptr< LogSinkBackend > |
sink | ) |
|
|
protected |
adds a sink to the logging core, equivalent to logSink.enable()
void openstudio::LoggerSingleton::addTimeStampToLogger |
( |
| ) |
|
|
protected |
bool openstudio::LoggerSingleton::findSink |
( |
boost::shared_ptr< LogSinkBackend > |
sink | ) |
|
|
protected |
is the sink found in the logging core
LoggerType& openstudio::LoggerSingleton::loggerFromChannel |
( |
const LogChannel & |
logChannel | ) |
|
get a logger from a LogChannel enumeration, if logChannel does not exist a new logger will be set up at the default level
void openstudio::LoggerSingleton::removeSink |
( |
boost::shared_ptr< LogSinkBackend > |
sink | ) |
|
|
protected |
removes a sink to the logging core, equivalent to logSink.disable()
LogSink openstudio::LoggerSingleton::standardErrLogger |
( |
| ) |
const |
get logger for standard error
LogSink openstudio::LoggerSingleton::standardOutLogger |
( |
| ) |
const |
get logger for standard out