log4cplus
2.1.0
|
Custom log level manager used by C API. More...
#include <customloglevelmanager.h>
Public Member Functions | |
CustomLogLevelManager () | |
bool | add (LogLevel ll, tstring const &nm) |
bool | remove (LogLevel ll, tstring const &nm) |
Protected Member Functions | |
tstring const & | customToStringMethodWorker (LogLevel ll) |
LogLevel | customFromStringMethodWorker (const tstring &nm) |
Static Protected Member Functions | |
static LOG4CPLUS_PRIVATE tstring const & | customToStringMethod (LogLevel ll) |
static LOG4CPLUS_PRIVATE LogLevel | customFromStringMethod (const tstring &nm) |
Protected Attributes | |
log4cplus::thread::Mutex | mtx |
bool | pushed_methods |
std::map< LogLevel, tstring > | ll2nm |
std::map< tstring, LogLevel > | nm2ll |
Custom log level manager used by C API.
Definition at line 64 of file customloglevelmanager.h.
|
inline |
Definition at line 72 of file customloglevelmanager.h.
Definition at line 76 of file customloglevelmanager.h.
References customFromStringMethod(), customToStringMethod(), log4cplus::getLogLevelManager(), ll2nm, mtx, nm2ll, pushed_methods, log4cplus::LogLevelManager::pushFromStringMethod(), and log4cplus::LogLevelManager::pushToStringMethod().
|
staticprotected |
Referenced by add().
|
inlineprotected |
Definition at line 130 of file customloglevelmanager.h.
References mtx, nm2ll, and log4cplus::NOT_SET_LOG_LEVEL.
|
staticprotected |
Referenced by add().
|
inlineprotected |
Definition at line 120 of file customloglevelmanager.h.
References log4cplus::internal::empty_str, ll2nm, and mtx.
Definition at line 101 of file customloglevelmanager.h.
Definition at line 68 of file customloglevelmanager.h.
Referenced by add(), customToStringMethodWorker(), and remove().
|
protected |
Definition at line 66 of file customloglevelmanager.h.
Referenced by add(), customFromStringMethodWorker(), customToStringMethodWorker(), and remove().
Definition at line 69 of file customloglevelmanager.h.
Referenced by add(), customFromStringMethodWorker(), and remove().
|
protected |
Definition at line 67 of file customloglevelmanager.h.
Referenced by add().