Apache log4cxx
Version 0.11.0
|
Macros | |
#define | LOG4CXX_UNLIKELY(expr) expr |
Provides optimization hint to the compiler to optimize for the expression being false. More... | |
#define | LOG4CXX_LOG(logger, level, message) |
Logs a message to a specified logger with a specified level. More... | |
#define | LOG4CXX_LOGLS(logger, level, message) |
Logs a message to a specified logger with a specified level. More... | |
#define | LOG4CXX_DEBUG(logger, message) |
Logs a message to a specified logger with the DEBUG level. More... | |
#define | LOG4CXX_TRACE(logger, message) |
Logs a message to a specified logger with the TRACE level. More... | |
#define | LOG4CXX_INFO(logger, message) |
Logs a message to a specified logger with the INFO level. More... | |
#define | LOG4CXX_WARN(logger, message) |
Logs a message to a specified logger with the WARN level. More... | |
#define | LOG4CXX_ERROR(logger, message) |
Logs a message to a specified logger with the ERROR level. More... | |
#define | LOG4CXX_ASSERT(logger, condition, message) |
Logs a error if the condition is not true. More... | |
#define | LOG4CXX_FATAL(logger, message) |
Logs a message to a specified logger with the FATAL level. More... | |
#define | LOG4CXX_L7DLOG(logger, level, key) |
Logs a localized message with no parameter. More... | |
#define | LOG4CXX_L7DLOG1(logger, level, key, p1) |
Logs a localized message with one parameter. More... | |
#define | LOG4CXX_L7DLOG2(logger, level, key, p1, p2) |
Logs a localized message with two parameters. More... | |
#define | LOG4CXX_L7DLOG3(logger, level, key, p1, p2, p3) |
Logs a localized message with three parameters. More... | |
#define LOG4CXX_ASSERT | ( | logger, | |
condition, | |||
message | |||
) |
Logs a error if the condition is not true.
logger | the logger to be used. |
condition | condition |
message | the message string to log. |
#define LOG4CXX_DEBUG | ( | logger, | |
message | |||
) |
Logs a message to a specified logger with the DEBUG level.
logger | the logger to be used. |
message | the message string to log. |
#define LOG4CXX_ERROR | ( | logger, | |
message | |||
) |
Logs a message to a specified logger with the ERROR level.
logger | the logger to be used. |
message | the message string to log. |
#define LOG4CXX_FATAL | ( | logger, | |
message | |||
) |
Logs a message to a specified logger with the FATAL level.
logger | the logger to be used. |
message | the message string to log. |
#define LOG4CXX_INFO | ( | logger, | |
message | |||
) |
Logs a message to a specified logger with the INFO level.
logger | the logger to be used. |
message | the message string to log. |
#define LOG4CXX_L7DLOG | ( | logger, | |
level, | |||
key | |||
) |
Logs a localized message with no parameter.
logger | the logger to be used. |
level | the level to log. |
key | the key to be searched in the resourceBundle of the logger. |
#define LOG4CXX_L7DLOG1 | ( | logger, | |
level, | |||
key, | |||
p1 | |||
) |
Logs a localized message with one parameter.
logger | the logger to be used. |
level | the level to log. |
key | the key to be searched in the resourceBundle of the logger. |
p1 | the unique parameter. |
#define LOG4CXX_L7DLOG2 | ( | logger, | |
level, | |||
key, | |||
p1, | |||
p2 | |||
) |
Logs a localized message with two parameters.
logger | the logger to be used. |
level | the level to log. |
key | the key to be searched in the resourceBundle of the logger. |
p1 | the first parameter. |
p2 | the second parameter. |
#define LOG4CXX_L7DLOG3 | ( | logger, | |
level, | |||
key, | |||
p1, | |||
p2, | |||
p3 | |||
) |
Logs a localized message with three parameters.
logger | the logger to be used. |
level | the level to log. |
key | the key to be searched in the resourceBundle of the logger. |
p1 | the first parameter. |
p2 | the second parameter. |
p3 | the third parameter. |
#define LOG4CXX_LOG | ( | logger, | |
level, | |||
message | |||
) |
Logs a message to a specified logger with a specified level.
logger | the logger to be used. |
level | the level to log. |
message | the message string to log. |
#define LOG4CXX_LOGLS | ( | logger, | |
level, | |||
message | |||
) |
Logs a message to a specified logger with a specified level.
logger | the logger to be used. |
level | the level to log. |
message | the message string to log in the internal encoding. |
#define LOG4CXX_TRACE | ( | logger, | |
message | |||
) |
Logs a message to a specified logger with the TRACE level.
logger | the logger to be used. |
message | the message string to log. |
#define LOG4CXX_UNLIKELY | ( | expr | ) | expr |
Provides optimization hint to the compiler to optimize for the expression being false.
expr | boolean expression. |
#define LOG4CXX_WARN | ( | logger, | |
message | |||
) |
Logs a message to a specified logger with the WARN level.
logger | the logger to be used. |
message | the message string to log. |