#include <Logger.hpp>
Public Member Functions | |
| Logger (const Logger &other)=delete | |
| Logger (Logger &&other)=delete | |
| LoggerType & | 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 | |
| Logger & | operator= (const Logger &)=delete |
| Logger & | operator= (Logger &&)=delete |
| LogSink | standardErrLogger () const |
| get logger for standard error | |
| LogSink | standardOutLogger () const |
| get logger for standard out | |
Static Public Member Functions | |
| static Logger & | instance () |
Protected Member Functions | |
| void | addSink (boost::shared_ptr< LogSinkBackend > sink) |
| adds a sink to the logging core, equivalent to logSink.enable() | |
| void | addTimeStampToLogger () |
| bool | findSink (boost::shared_ptr< LogSinkBackend > sink) |
| is the sink found in the logging core | |
| void | removeSink (boost::shared_ptr< LogSinkBackend > sink) |
| removes a sink to the logging core, equivalent to logSink.disable() | |
|
delete |
|
delete |
|
protected |
adds a sink to the logging core, equivalent to logSink.enable()
|
protected |
|
protected |
is the sink found in the logging core
|
static |
| LoggerType & openstudio::Logger::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
|
protected |
removes a sink to the logging core, equivalent to logSink.disable()
| LogSink openstudio::Logger::standardErrLogger | ( | ) | const |
get logger for standard error
| LogSink openstudio::Logger::standardOutLogger | ( | ) | const |
get logger for standard out