Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

LogLevelUtil Namespace Reference

Utilities on LogLevel. More...

Functions

bool IsValidLevel (LogLevel level)
 Returns true if the given level is valid.
std::string toString (LogLevel level)
 Returns a string representation of the level.
LogLevel fromString (std::string)
 Converts a string to a LogLevel.

Detailed Description

Utilities on LogLevel.


Function Documentation

LogLevel LogLevelUtil::fromString ( std::string  str  )  [inline]
bool LogLevelUtil::IsValidLevel ( LogLevel  level  ) 

Returns true if the given level is valid.

Definition at line 124 of file Logger.cpp.

References LOG_LEVEL_ALL, LOG_LEVEL_CONFIG, LOG_LEVEL_FINE, LOG_LEVEL_FINER, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_SEVERE, and LOG_LEVEL_WARNING.

std::string LogLevelUtil::toString ( LogLevel  level  ) 

Returns a string representation of the level.

Definition at line 134 of file Logger.cpp.

References LOG_LEVEL_ALL, LOG_LEVEL_CONFIG, LOG_LEVEL_FINE, LOG_LEVEL_FINER, LOG_LEVEL_INFO, LOG_LEVEL_SEVERE, and LOG_LEVEL_WARNING.


6 Jan 2011 Doxygen 1.6.3