rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
rad::Logger Class Reference

#include <logger.hpp>

Public Member Functions

 Logger ()
 
virtual ~Logger ()
 
std::ostringstream & Get (LogLevel level=LOG_LEVEL_INFO)
 
 Logger ()
 
virtual ~Logger ()
 
std::ostringstream & Get (LogLevel level=LOG_LEVEL_INFO)
 
 Logger ()
 
virtual ~Logger ()
 
std::ostringstream & Get (LogLevel level=LOG_LEVEL_INFO)
 

Static Public Member Functions

static LogLevelReportingLevel ()
 
static bool & EnableConsole ()
 
static bool & EnableLogMon ()
 
static bool IsEnabled ()
 
static std::string & ModuleName ()
 
static std::string & ProcName ()
 
static std::string LevelToString (LogLevel level)
 
static LogLevel LevelFromString (const std::string &level)
 
static LogLevelReportingLevel ()
 
static bool & EnableConsole ()
 
static bool & EnableLogMon ()
 
static bool IsEnabled ()
 
static std::string & ModuleName ()
 
static std::string & ProcName ()
 
static std::string LevelToString (LogLevel level)
 
static LogLevel LevelFromString (const std::string &level)
 
static LogLevelReportingLevel ()
 
static bool & EnableConsole ()
 
static bool & EnableLogMon ()
 
static bool IsEnabled ()
 
static std::string & ModuleName ()
 
static std::string & ProcName ()
 
static std::string LevelToString (LogLevel level)
 
static LogLevel LevelFromString (const std::string &level)
 

Protected Attributes

std::ostringstream m_output
 

Constructor & Destructor Documentation

rad::Logger::Logger ( )
inline
rad::Logger::~Logger ( )
inlinevirtual
rad::Logger::Logger ( )
inline
virtual rad::Logger::~Logger ( )
inlinevirtual
rad::Logger::Logger ( )
inline
virtual rad::Logger::~Logger ( )
inlinevirtual

Member Function Documentation

bool & rad::Logger::EnableConsole ( )
inlinestatic
static bool& rad::Logger::EnableConsole ( )
inlinestatic
static bool& rad::Logger::EnableConsole ( )
inlinestatic
bool & rad::Logger::EnableLogMon ( )
inlinestatic
static bool& rad::Logger::EnableLogMon ( )
inlinestatic
static bool& rad::Logger::EnableLogMon ( )
inlinestatic
std::ostringstream& rad::Logger::Get ( LogLevel  level = LOG_LEVEL_INFO)
inline
std::ostringstream& rad::Logger::Get ( LogLevel  level = LOG_LEVEL_INFO)
inline
std::ostringstream & rad::Logger::Get ( LogLevel  level = LOG_LEVEL_INFO)
inline
bool rad::Logger::IsEnabled ( )
inlinestatic
static bool rad::Logger::IsEnabled ( )
inlinestatic
static bool rad::Logger::IsEnabled ( )
inlinestatic
LogLevel rad::Logger::LevelFromString ( const std::string &  level)
inlinestatic
static LogLevel rad::Logger::LevelFromString ( const std::string &  level)
inlinestatic
static LogLevel rad::Logger::LevelFromString ( const std::string &  level)
inlinestatic
static std::string rad::Logger::LevelToString ( LogLevel  level)
inlinestatic
std::string rad::Logger::LevelToString ( LogLevel  level)
inlinestatic
static std::string rad::Logger::LevelToString ( LogLevel  level)
inlinestatic
static std::string& rad::Logger::ModuleName ( )
inlinestatic
std::string & rad::Logger::ModuleName ( )
inlinestatic
static std::string& rad::Logger::ModuleName ( )
inlinestatic
static std::string& rad::Logger::ProcName ( )
inlinestatic
static std::string& rad::Logger::ProcName ( )
inlinestatic
static std::string& rad::Logger::ProcName ( )
inlinestatic
static LogLevel& rad::Logger::ReportingLevel ( )
inlinestatic
LogLevel & rad::Logger::ReportingLevel ( )
inlinestatic
static LogLevel& rad::Logger::ReportingLevel ( )
inlinestatic

Member Data Documentation

std::ostringstream rad::Logger::m_output
protected

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