Apache Log4cxx Version 1.0.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, ...) |
Add a new logging event containing libfmt formatted ... 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, ...) |
Add a new logging event containing libfmt formatted ... 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, ...) |
Add a new logging event containing libfmt formatted ... 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, ...) |
Add a new logging event containing libfmt formatted ... 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, ...) |
Add a new logging event containing libfmt formatted ... 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, ...) |
Add a new logging event containing libfmt formatted ... 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, ...) |
If condition is not true, add a new logging event containing libfmt formatted message 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, ...) |
Add a new logging event containing libfmt formatted ... 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 | the message string to log. |
#define LOG4CXX_ASSERT_FMT | ( | logger, | |
condition, | |||
... | |||
) |
If condition
is not true, add a new logging event containing libfmt formatted message
to attached appender(s) if logger
is enabled for ERROR
events.
logger | the logger to be used. |
condition | condition |
... | The format string and message to log |
#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::basic::ostream&. ...) overload. |
Example:
#define LOG4CXX_DEBUG_FMT | ( | logger, | |
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if logger
is enabled for DEBUG
events.
logger | the logger to be used. |
... | The format string and message to log |
#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 | the message string to log. |
Example:
#define LOG4CXX_ERROR_FMT | ( | logger, | |
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if logger
is enabled for ERROR
events.
logger | the logger to be used. |
... | The format string and message to log |
#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 | the message string to log. |
Example:
#define LOG4CXX_FATAL_FMT | ( | logger, | |
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if logger
is enabled for FATAL
events.
logger | the logger to be used. |
... | The format string and message to log |
#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::basic::ostream&. ...) overload. |
Example:
#define LOG4CXX_INFO_FMT | ( | logger, | |
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if logger
is enabled for INFO
events.
logger | the logger to be used. |
... | The format string and message to log |
#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 level to log. |
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 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 | |||
) |
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 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 | |||
) |
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 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 | |||
) |
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 level to log. |
message | the message string to log. |
#define LOG4CXX_LOG_FMT | ( | logger, | |
level, | |||
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if this logger is enabled for events
.
logger | the logger to be used. |
level | the level to log. |
... | The format string and message to log |
#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 level to log. |
message | the message string to log 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::basic::ostream&. ...) overload. |
Example:
#define LOG4CXX_TRACE_FMT | ( | logger, | |
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if logger
is enabled for TRACE
events.
logger | the logger to be used. |
... | The format string and message 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 | |||
) |
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 | the message string to log. |
Example:
#define LOG4CXX_WARN_FMT | ( | logger, | |
... | |||
) |
Add a new logging event containing libfmt formatted ...
to attached appender(s) if logger
is enabled for WARN
events.
logger | the logger to be used. |
... | The format string and message to log |