rad  3.0.0
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

◆ Logger() [1/3]

rad::Logger::Logger ( )
inline

◆ ~Logger() [1/3]

rad::Logger::~Logger ( )
inlinevirtual

◆ Logger() [2/3]

rad::Logger::Logger ( )
inline

◆ ~Logger() [2/3]

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

◆ Logger() [3/3]

rad::Logger::Logger ( )
inline

◆ ~Logger() [3/3]

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

Member Function Documentation

◆ EnableConsole() [1/3]

bool & rad::Logger::EnableConsole ( )
inlinestatic

◆ EnableConsole() [2/3]

static bool& rad::Logger::EnableConsole ( )
inlinestatic

◆ EnableConsole() [3/3]

static bool& rad::Logger::EnableConsole ( )
inlinestatic

◆ EnableLogMon() [1/3]

bool & rad::Logger::EnableLogMon ( )
inlinestatic

◆ EnableLogMon() [2/3]

static bool& rad::Logger::EnableLogMon ( )
inlinestatic

◆ EnableLogMon() [3/3]

static bool& rad::Logger::EnableLogMon ( )
inlinestatic

◆ Get() [1/3]

std::ostringstream & rad::Logger::Get ( LogLevel  level = LOG_LEVEL_INFO)
inline

◆ Get() [2/3]

std::ostringstream& rad::Logger::Get ( LogLevel  level = LOG_LEVEL_INFO)
inline

◆ Get() [3/3]

std::ostringstream& rad::Logger::Get ( LogLevel  level = LOG_LEVEL_INFO)
inline

◆ IsEnabled() [1/3]

bool rad::Logger::IsEnabled ( )
inlinestatic

◆ IsEnabled() [2/3]

static bool rad::Logger::IsEnabled ( )
inlinestatic

◆ IsEnabled() [3/3]

static bool rad::Logger::IsEnabled ( )
inlinestatic

◆ LevelFromString() [1/3]

LogLevel rad::Logger::LevelFromString ( const std::string &  level)
inlinestatic

◆ LevelFromString() [2/3]

static LogLevel rad::Logger::LevelFromString ( const std::string &  level)
inlinestatic

◆ LevelFromString() [3/3]

static LogLevel rad::Logger::LevelFromString ( const std::string &  level)
inlinestatic

◆ LevelToString() [1/3]

std::string rad::Logger::LevelToString ( LogLevel  level)
inlinestatic

◆ LevelToString() [2/3]

static std::string rad::Logger::LevelToString ( LogLevel  level)
inlinestatic

◆ LevelToString() [3/3]

static std::string rad::Logger::LevelToString ( LogLevel  level)
inlinestatic

◆ ModuleName() [1/3]

std::string & rad::Logger::ModuleName ( )
inlinestatic

◆ ModuleName() [2/3]

static std::string& rad::Logger::ModuleName ( )
inlinestatic

◆ ModuleName() [3/3]

static std::string& rad::Logger::ModuleName ( )
inlinestatic

◆ ProcName() [1/3]

static std::string& rad::Logger::ProcName ( )
inlinestatic

◆ ProcName() [2/3]

static std::string& rad::Logger::ProcName ( )
inlinestatic

◆ ProcName() [3/3]

static std::string& rad::Logger::ProcName ( )
inlinestatic

◆ ReportingLevel() [1/3]

LogLevel & rad::Logger::ReportingLevel ( )
inlinestatic

◆ ReportingLevel() [2/3]

static LogLevel& rad::Logger::ReportingLevel ( )
inlinestatic

◆ ReportingLevel() [3/3]

static LogLevel& rad::Logger::ReportingLevel ( )
inlinestatic

Member Data Documentation

◆ m_output

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

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