 |
Kea
1.5.0
|
Go to the documentation of this file.
14 #define LOG_DEBUG(LOGGER, LEVEL, MESSAGE) \
15 if (!(LOGGER).isDebugEnabled((LEVEL))) { \
17 (LOGGER).debug((LEVEL), (MESSAGE))
20 #define LOG_INFO(LOGGER, MESSAGE) \
21 if (!(LOGGER).isInfoEnabled()) { \
23 (LOGGER).info((MESSAGE))
26 #define LOG_WARN(LOGGER, MESSAGE) \
27 if (!(LOGGER).isWarnEnabled()) { \
29 (LOGGER).warn((MESSAGE))
32 #define LOG_ERROR(LOGGER, MESSAGE) \
33 if (!(LOGGER).isErrorEnabled()) { \
35 (LOGGER).error((MESSAGE))
38 #define LOG_FATAL(LOGGER, MESSAGE) \
39 if (!(LOGGER).isFatalEnabled()) { \
41 (LOGGER).fatal((MESSAGE))