#include <syslog.h>
#include <sstream>
#include <string>
#include <map>
#include <vector>
Go to the source code of this file.
|
#define | Log(lvl, mymask, where, what) |
|
#define | Err(where, what) |
|
#define Err |
( |
|
where, |
|
|
|
what |
|
) |
| |
Value:do{ \
std::ostringstream outs; \
outs <<
"dmlite " << where <<
" !! " << __func__ <<
" : " << what;
\
}while(0)
static Logger * get()
Definition: logger.h:62
void log(Level lvl, std::string const &msg) const
Level
Definition: logger.h:47
#define Log |
( |
|
lvl, |
|
|
|
mymask, |
|
|
|
where, |
|
|
|
what |
|
) |
| |
Value:do{ \
{ \
std::ostringstream outs; \
outs <<
"[" << lvl <<
"] dmlite " << where <<
" " << __func__ <<
" : " << what;
\
} \
}while(0) \
static Logger * get()
Definition: logger.h:62
void log(Level lvl, std::string const &msg) const
Level
Definition: logger.h:47
void LogCfgParm |
( |
int |
lvl, |
|
|
Logger::bitmask |
mymask, |
|
|
std::string |
where, |
|
|
std::string |
key, |
|
|
std::string |
value |
|
) |
| |