rad 6.2.0
Loading...
Searching...
No Matches
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)
 

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)
 

Protected Attributes

std::ostringstream m_output
 

Constructor & Destructor Documentation

◆ Logger()

rad::Logger::Logger ( )
inline

◆ ~Logger()

rad::Logger::~Logger ( )
inlinevirtual

Member Function Documentation

◆ EnableConsole()

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

◆ EnableLogMon()

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

◆ Get()

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

◆ IsEnabled()

bool rad::Logger::IsEnabled ( )
inlinestatic

◆ LevelFromString()

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

◆ LevelToString()

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

◆ ModuleName()

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

◆ ProcName()

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

◆ ReportingLevel()

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: