EMANE
1.2.1
|
Go to the source code of this file.
Classes | |
class | EMANE::LogServiceProvider |
Log service provider interface. More... | |
Namespaces | |
EMANE | |
Macros | |
#define | LOGGER_VERBOSE_LOGGING(logger, level, fmt, args...) |
#define | LOGGER_VERBOSE_LOGGING_FN(logger, level, fn) |
#define | LOGGER_VERBOSE_LOGGING_FN_VARGS(logger, level, fn, fmt, args...) |
#define | LOGGER_STANDARD_LOGGING(logger, level, fmt, args...) (logger).log(level,fmt,## args) |
#define | LOGGER_STANDARD_LOGGING_FN(logger, level, fn) (logger).logfn(level,fn) |
#define | LOGGER_STANDARD_LOGGING_FN_VARGS(logger, level, fn, fmt, args...) (logger).logfn(level,fn,fmt,## args) |
Enumerations | |
enum | EMANE::LogLevel { EMANE::NOLOG_LEVEL = 0, EMANE::ABORT_LEVEL = 1, EMANE::ERROR_LEVEL = 2, EMANE::INFO_LEVEL = 3, EMANE::DEBUG_LEVEL = 4 } |
#define LOGGER_STANDARD_LOGGING | ( | logger, | |
level, | |||
fmt, | |||
args... | |||
) | (logger).log(level,fmt,## args) |
Logs a printf style log message.
logger | LogServiceProvider reference |
level | Log level of the message |
fmt | format string (see printf) |
args... | Variable data (see printf) |
Definition at line 199 of file logserviceprovider.h.
#define LOGGER_STANDARD_LOGGING_FN | ( | logger, | |
level, | |||
fn | |||
) | (logger).logfn(level,fn) |
Logs log message output from a callable.
logger | LogServiceProvider reference |
level | Log level of the message |
fn | Callable object returning Strings |
Definition at line 211 of file logserviceprovider.h.
#define LOGGER_STANDARD_LOGGING_FN_VARGS | ( | logger, | |
level, | |||
fn, | |||
fmt, | |||
args... | |||
) | (logger).logfn(level,fn,fmt,## args) |
Logs a printf style log message with appended message output from a callable. Message my be compiled out using ./configure –without-verbose-logging.
logger | LogServiceProvider reference |
level | Log level of the message |
fn | Callable object returning Strings |
fmt | format string (see printf) |
args... | Variable data (see printf) |
Definition at line 227 of file logserviceprovider.h.
#define LOGGER_VERBOSE_LOGGING | ( | logger, | |
level, | |||
fmt, | |||
args... | |||
) |
Logs a printf style log message. Message my be compiled out using ./configure –without-verbose-logging.
logger | LogServiceProvider reference |
level | Log level of the message |
fmt | format string (see printf) |
args... | Variable data (see printf) |
Definition at line 160 of file logserviceprovider.h.
#define LOGGER_VERBOSE_LOGGING_FN | ( | logger, | |
level, | |||
fn | |||
) |
Logs log message output from a callable. Message my be compiled out using ./configure –without-verbose-logging.
logger | LogServiceProvider reference |
level | Log level of the message |
fn | Callable object returning Strings |
Definition at line 172 of file logserviceprovider.h.
#define LOGGER_VERBOSE_LOGGING_FN_VARGS | ( | logger, | |
level, | |||
fn, | |||
fmt, | |||
args... | |||
) |
Logs a printf style log message with appended message output from a callable. Message my be compiled out using ./configure –without-verbose-logging.
logger | LogServiceProvider reference |
level | Log level of the message |
fn | Callable object returning Strings |
fmt | format string (see printf) |
args... | Variable data (see printf) |
Definition at line 187 of file logserviceprovider.h.