#include <NullLogger.h>

Inheritance diagram for biogears::NullLogger:

Public Member Functions

 NullLogger (const std::string &logFilename=Loggable::empty)
 
virtual ~NullLogger ()
 
void LogToConsole (bool b)
 
void ResetLogFile (const std::string &logFilename=Loggable::empty)
 
void SetLogLevel (log4cpp::Priority::Value priority)
 
log4cpp::Priority::Value GetLogLevel ()
 
virtual void SetLogTime (const SEScalarTime *time)
 
virtual void SetForward (LoggerForward *forward)
 
virtual bool HasForward ()
 
virtual void Debug (const std::string &msg, const std::string &origin=Loggable::empty)
 
virtual void Debug (std::stringstream &msg, const std::string &origin=Loggable::empty)
 
virtual void Debug (std::ostream &msg, const std::string &origin=Loggable::empty)
 
virtual void Info (const std::string &msg, const std::string &origin=Loggable::empty)
 
virtual void Info (std::stringstream &msg, const std::string &origin=Loggable::empty)
 
virtual void Info (const std::stringstream &msg, const std::string &origin=Loggable::empty)
 
virtual void Info (std::ostream &msg, const std::string &origin=Loggable::empty)
 
virtual void Warning (const std::string &msg, const std::string &origin=Loggable::empty)
 
virtual void Warning (std::stringstream &msg, const std::string &origin=Loggable::empty)
 
virtual void Warning (std::ostream &msg, const std::string &origin=Loggable::empty)
 
virtual void Error (const std::string &msg, const std::string &origin=Loggable::empty)
 
virtual void Error (std::stringstream &msg, const std::string &origin=Loggable::empty)
 
virtual void Error (std::ostream &msg, const std::string &origin=Loggable::empty)
 
virtual void Fatal (const std::string &msg, const std::string &origin=Loggable::empty)
 
virtual void Fatal (std::stringstream &msg, const std::string &origin=Loggable::empty)
 
virtual void Fatal (std::ostream &msg, const std::string &origin=Loggable::empty)
 
- Public Member Functions inherited from biogears::Logger
 Logger (const std::string &logFilename=Loggable::empty, const std::string &working_dir=Loggable::empty)
 
 Logger (const char *logFilename, const char *working_dir=Loggable::empty_cStr)
 
virtual ~Logger ()
 
void LogToConsole (bool log_to_console)
 
void FormatMessages (bool format_messages)
 
void ResetLogFile (const std::string &logFilename=Loggable::empty, const std::string &working_dir=Loggable::empty)
 
void ResetLogFile (const char *logFilename, const char *working_dir=Loggable::empty_cStr)
 
void SetLogLevel (log4cpp::Priority::Value priority) const
 
void SetConsoleLogLevel (log4cpp::Priority::Value priority) const
 
log4cpp::Priority::Value GetLogLevel ()
 
void SetsetConversionPattern (const std::string &)
 
void SetConsolesetConversionPattern (const std::string &)
 
virtual void Debug (const std::string &msg, std::string const &origin=Loggable::empty) const
 
virtual void Info (const std::string &msg, std::string const &origin=Loggable::empty) const
 
virtual void Warning (const std::string &msg, std::string const &origin=Loggable::empty) const
 
virtual void Error (const std::string &msg, std::string const &origin=Loggable::empty) const
 
virtual void Fatal (const std::string &msg, std::string const &origin=Loggable::empty) const
 
virtual void Debug (std::ostream const &msg, std::string const &origin=Loggable::empty) const
 
virtual void Info (std::ostream const &msg, std::string const &origin=Loggable::empty) const
 
virtual void Warning (std::ostream const &msg, std::string const &origin=Loggable::empty) const
 
virtual void Error (std::ostream const &msg, std::string const &origin=Loggable::empty) const
 
virtual void Fatal (std::ostream const &msg, std::string const &origin=Loggable::empty) const
 

Protected Member Functions

virtual std::string FormatLogMessage (const std::string &origin, const std::string &msg)
 
- Protected Member Functions inherited from biogears::Logger
virtual std::string FormatLogMessage (const std::string &origin, const std::string &msg) const
 

Protected Attributes

LoggerForwardm_Forward
 
log4cpp::Category * m_Log
 
log4cpp::Appender * m_FileAppender
 
log4cpp::Appender * m_ConsoleAppender
 
const SEScalarTimem_time
 
std::stringstream m_ss
 
- Protected Attributes inherited from biogears::Logger
LoggerForwardm_Forward
 
log4cpp::Category * m_Log
 
log4cpp::Appender * m_FileAppender
 
log4cpp::Appender * m_ConsoleAppender
 
const SEScalarTimem_time
 
std::stringstream m_ss
 
bool m_FormatMessages
 

Constructor & Destructor Documentation

biogears::NullLogger::NullLogger ( const std::string &  logFilename = Loggable::empty)
biogears::NullLogger::~NullLogger ( )
virtual

Member Function Documentation

void biogears::NullLogger::Debug ( const std::string &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Debug ( std::stringstream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Debug ( std::ostream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Error ( const std::string &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Error ( std::stringstream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Error ( std::ostream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Fatal ( const std::string &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Fatal ( std::stringstream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Fatal ( std::ostream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
std::string biogears::NullLogger::FormatLogMessage ( const std::string &  origin,
const std::string &  msg 
)
protectedvirtual
log4cpp::Priority::Value biogears::NullLogger::GetLogLevel ( )
bool biogears::NullLogger::HasForward ( )
virtual

Reimplemented from biogears::Logger.

void biogears::NullLogger::Info ( const std::string &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Info ( std::stringstream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Info ( const std::stringstream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Info ( std::ostream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::LogToConsole ( bool  b)
void biogears::NullLogger::ResetLogFile ( const std::string &  logFilename = Loggable::empty)
void biogears::NullLogger::SetForward ( LoggerForward forward)
virtual

Reimplemented from biogears::Logger.

void biogears::NullLogger::SetLogLevel ( log4cpp::Priority::Value  priority)
void biogears::NullLogger::SetLogTime ( const SEScalarTime time)
virtual

Reimplemented from biogears::Logger.

void biogears::NullLogger::Warning ( const std::string &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Warning ( std::stringstream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual
void biogears::NullLogger::Warning ( std::ostream &  msg,
const std::string &  origin = Loggable::empty 
)
virtual

Member Data Documentation

log4cpp::Appender* biogears::NullLogger::m_ConsoleAppender
protected
log4cpp::Appender* biogears::NullLogger::m_FileAppender
protected
LoggerForward* biogears::NullLogger::m_Forward
protected
log4cpp::Category* biogears::NullLogger::m_Log
protected
std::stringstream biogears::NullLogger::m_ss
protected
const SEScalarTime* biogears::NullLogger::m_time
protected