PARTONS/ElementaryUtils  
Basic utility softwares (Logger, threads, etc)
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ElemUtils::LoggerLevel Class Reference

Public Types

enum  Type {
  DEBUG = 0 , INFO = 1 , WARN = 2 , ERROR = 3 ,
  OFF = 4 , NONE = 5
}
 

Public Member Functions

 LoggerLevel (Type t)
 
std::string toString () const
 
LoggerLevel::Type getType () const
 
void setType (Type type)
 

Static Public Member Functions

static LoggerLevel fromString (std::string level)
 

Private Attributes

LoggerLevel::Type m_type
 

Member Enumeration Documentation

◆ Type

Enumerator
DEBUG 
INFO 
WARN 
ERROR 
OFF 
NONE 

Constructor & Destructor Documentation

◆ LoggerLevel()

ElemUtils::LoggerLevel::LoggerLevel ( Type  t)
inline

Member Function Documentation

◆ fromString()

static LoggerLevel ElemUtils::LoggerLevel::fromString ( std::string  level)
inlinestatic

◆ getType()

LoggerLevel::Type ElemUtils::LoggerLevel::getType ( ) const
inline

◆ setType()

void ElemUtils::LoggerLevel::setType ( Type  type)
inline

◆ toString()

std::string ElemUtils::LoggerLevel::toString ( ) const
inline

Member Data Documentation

◆ m_type

LoggerLevel::Type ElemUtils::LoggerLevel::m_type
private

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