Apache Log4cxx
Version 1.2.0
|
Macros | |
#define | LOG4CXX_UNLIKELY(expr) expr |
Provides optimization hint to the compiler to optimize for the expression being false. | |
#define | LOG4CXX_STACKTRACE |
#define | LOG4CXX_LOG(logger, level, message) |
Add a new logging event containing message to attached appender(s) if this logger is enabled for events . | |
#define | LOG4CXX_LOG_FMT(logger, level, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if this logger is enabled for events . | |
#define | LOG4CXX_LOGLS(logger, level, message) |
Add a new logging event containing message to attached appender(s) if this logger is enabled for events . | |
#define | LOG4CXX_DEBUG(logger, message) |
Add a new logging event containing message to attached appender(s) if logger is enabled for DEBUG events. | |
#define | LOG4CXX_DEBUG_FMT(logger, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for DEBUG events. | |
#define | LOG4CXX_TRACE(logger, message) |
Add a new logging event containing message to attached appender(s) if logger is enabled for TRACE events. | |
#define | LOG4CXX_TRACE_FMT(logger, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for TRACE events. | |
#define | LOG4CXX_INFO(logger, message) |
Add a new logging event containing message to attached appender(s) if logger is enabled for INFO events. | |
#define | LOG4CXX_INFO_FMT(logger, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for INFO events. | |
#define | LOG4CXX_WARN(logger, message) |
Add a new logging event containing message to attached appender(s) if logger is enabled for WARN events. | |
#define | LOG4CXX_WARN_FMT(logger, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for WARN events. | |
#define | LOG4CXX_ERROR(logger, message) |
Add a new logging event containing message to attached appender(s) if logger is enabled for ERROR events. | |
#define | LOG4CXX_ERROR_FMT(logger, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for ERROR events. | |
#define | LOG4CXX_ASSERT(logger, condition, message) |
If condition is not true, add a new logging event containing message to attached appender(s) if logger is enabled for ERROR events. | |
#define | LOG4CXX_ASSERT_FMT(logger, condition, fmt, ...) |
If condition is not true, add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for ERROR events. | |
#define | LOG4CXX_FATAL(logger, message) |
Add a new logging event containing message to attached appender(s) if logger is enabled for FATAL events. | |
#define | LOG4CXX_FATAL_FMT(logger, fmt, ...) |
Add a new logging event containing a message defined by fmt and ... to attached appender(s) if logger is enabled for FATAL events. | |
#define | LOG4CXX_L7DLOG(logger, level, key) |
Add a new logging event containing the localized message key to attached appender(s) if logger is enabled for level events. | |
#define | LOG4CXX_L7DLOG1(logger, level, key, p1) |
Add a new logging event containing the localized message key to attached appender(s) if logger is enabled for level events with one parameter. | |
#define | LOG4CXX_L7DLOG2(logger, level, key, p1, p2) |
Add a new logging event containing the localized message key to attached appender(s) if logger is enabled for level events with two parameters. | |
#define | LOG4CXX_L7DLOG3(logger, level, key, p1, p2, p3) |
Add a new logging event containing the localized message key to attached appender(s) if logger is enabled for level events with three parameters. | |
#define LOG4CXX_ASSERT | ( | logger, | |
condition, | |||
message | |||
) |
If condition
is not true, add a new logging event containing message
to attached appender(s) if logger
is enabled for ERROR
events.
logger | the logger to be used. |
condition | condition |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_ASSERT_FMT | ( | logger, | |
condition, | |||
fmt, | |||
... | |||
) |
If condition
is not true, add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for ERROR
events.
logger | the logger to be used. |
condition | condition |
fmt | the layout of the message. |
... | the variable parts of the message. |
#define LOG4CXX_DEBUG | ( | logger, | |
message | |||
) |
Add a new logging event containing message
to attached appender(s) if logger
is enabled for DEBUG
events.
logger | the logger that has the enabled status. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_DEBUG_FMT | ( | logger, | |
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for DEBUG
events.
logger | the logger to be used. |
fmt | the layout of the message. |
... | the variable parts of the message. |
#define LOG4CXX_ERROR | ( | logger, | |
message | |||
) |
Add a new logging event containing message
to attached appender(s) if logger
is enabled for ERROR
events.
logger | the logger to be used. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_ERROR_FMT | ( | logger, | |
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for ERROR
events.
logger | the logger to be used. |
fmt | the layout of the message. |
... | the variable parts of the message. |
#define LOG4CXX_FATAL | ( | logger, | |
message | |||
) |
Add a new logging event containing message
to attached appender(s) if logger
is enabled for FATAL
events.
logger | the logger to be used. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_FATAL_FMT | ( | logger, | |
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for FATAL
events.
logger | the logger to be used. |
fmt | the layout of the message. |
... | the variable parts of the message. |
#define LOG4CXX_INFO | ( | logger, | |
message | |||
) |
Add a new logging event containing message
to attached appender(s) if logger
is enabled for INFO
events.
logger | the logger that has the enabled status. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_INFO_FMT | ( | logger, | |
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for INFO
events.
logger | the logger to be used. |
fmt | the layout of the message. |
... | the variable parts of the message. |
#define LOG4CXX_L7DLOG | ( | logger, | |
level, | |||
key | |||
) |
Add a new logging event containing the localized message key
to attached appender(s) if logger
is enabled for level
events.
logger | the logger to be used. |
level | The logging event level. |
key | the key to be searched in the resourceBundle of the logger. |
#define LOG4CXX_L7DLOG1 | ( | logger, | |
level, | |||
key, | |||
p1 | |||
) |
Add a new logging event containing the localized message key
to attached appender(s) if logger
is enabled for level
events with one parameter.
logger | the logger to be used. |
level | The logging event level. |
key | the key to be searched in the resourceBundle of the logger. |
p1 | the unique parameter. |
#define LOG4CXX_L7DLOG2 | ( | logger, | |
level, | |||
key, | |||
p1, | |||
p2 | |||
) |
Add a new logging event containing the localized message key
to attached appender(s) if logger
is enabled for level
events with two parameters.
logger | the logger to be used. |
level | The logging event level. |
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 | |||
) |
Add a new logging event containing the localized message key
to attached appender(s) if logger
is enabled for level
events with three parameters.
logger | the logger to be used. |
level | The logging event level. |
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 | |||
) |
Add a new logging event containing message
to attached appender(s) if this logger is enabled for events
.
logger | the logger to be used. |
level | The logging event level. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_LOG_FMT | ( | logger, | |
level, | |||
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if this logger is enabled for events
.
logger | the logger to be used. |
level | The logging event level. |
fmt | the layout of the message. |
... | the variable parts of the message. |
#define LOG4CXX_LOGLS | ( | logger, | |
level, | |||
message | |||
) |
Add a new logging event containing message
to attached appender(s) if this logger is enabled for events
.
logger | the logger to be used. |
level | The logging event level. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. in the internal encoding. |
#define LOG4CXX_STACKTRACE |
#define LOG4CXX_TRACE | ( | logger, | |
message | |||
) |
Add a new logging event containing message
to attached appender(s) if logger
is enabled for TRACE
events.
logger | the logger that has the enabled status. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_TRACE_FMT | ( | logger, | |
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for TRACE
events.
logger | the logger to be used. |
fmt | the layout of the message. |
... | the variable parts of the message. |
#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 | |||
) |
Add a new logging event containing message
to attached appender(s) if logger
is enabled for WARN
events.
logger | the logger to be used. |
message | a valid r-value expression of an operator<<(std::ostream&. ...) overload. |
#define LOG4CXX_WARN_FMT | ( | logger, | |
fmt, | |||
... | |||
) |
Add a new logging event containing a message defined by fmt
and ...
to attached appender(s) if logger
is enabled for WARN
events.
logger | the logger to be used. |
fmt | the layout of the message. |
... | the variable parts of the message. |