handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable) method.
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | debug(String format, Object arg)
Implements org. Log a message at the DEBUG level according to the specified format and argument. |
| public void | debug(String format, Object arg1, Object arg2)
Implements org. Log a message at the DEBUG level according to the specified format and arguments. |
| public void | debug(String format, Object... arguments)
Implements org. Log a message at the DEBUG level according to the specified format and arguments. |
| public void | debug(String msg, Throwable t)
Implements org. Log an exception (throwable) at the DEBUG level with an accompanying message. |
| public void | debug(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the DEBUG level. |
| public void | debug(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | debug(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | debug(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | debug(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| public void | |
| public void | error(String format, Object arg)
Implements org. Log a message at the ERROR level according to the specified format and argument. |
| public void | error(String format, Object arg1, Object arg2)
Implements org. Log a message at the ERROR level according to the specified format and arguments. |
| public void | error(String format, Object... arguments)
Implements org. Log a message at the ERROR level according to the specified format and arguments. |
| public void | error(String msg, Throwable t)
Implements org. Log an exception (throwable) at the ERROR level with an accompanying message. |
| public void | error(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the ERROR level. |
| public void | error(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | error(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | error(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | error(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| protected abstract String | |
| public String | |
| private void | |
| private void | |
| private void | |
| private void | |
| protected abstract void | handleNormalizedLoggingCall(Level
the SLF4J level for this event level, Marker The marker to be used for this event, may be null. marker, String The message pattern which will be parsed and formatted messagePattern, Object[] the array of arguments to be formatted, may be null arguments, Throwable The exception whose stack trace should be logged, may be null throwable)Given various arguments passed as parameters, perform actual logging. |
| public void | |
| public void | info(String format, Object arg)
Implements org. Log a message at the INFO level according to the specified format and argument. |
| public void | info(String format, Object arg1, Object arg2)
Implements org. Log a message at the INFO level according to the specified format and arguments. |
| public void | info(String format, Object... arguments)
Implements org. Log a message at the INFO level according to the specified format and arguments. |
| public void | info(String msg, Throwable t)
Implements org. Log an exception (throwable) at the INFO level with an accompanying message. |
| public void | info(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the INFO level. |
| public void | info(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | info(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | info(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | info(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| protected Object | Returns: logger with same name as returned by LoggerFactoryReplace this instance with a homonymous (same name) logger returned by LoggerFactory. |
| public void | |
| public void | trace(String format, Object arg)
Implements org. Log a message at the TRACE level according to the specified format and argument. |
| public void | trace(String format, Object arg1, Object arg2)
Implements org. Log a message at the TRACE level according to the specified format and arguments. |
| public void | trace(String format, Object... arguments)
Implements org. Log a message at the TRACE level according to the specified format and arguments. |
| public void | trace(String msg, Throwable t)
Implements org. Log an exception (throwable) at the TRACE level with an accompanying message. |
| public void | trace(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the TRACE level. |
| public void | trace(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | trace(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | trace(Marker marker, String format, Object... argArray)
Implements org. This method is similar to |
| public void | trace(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| public void | |
| public void | warn(String format, Object arg)
Implements org. Log a message at the WARN level according to the specified format and argument. |
| public void | warn(String format, Object arg1, Object arg2)
Implements org. Log a message at the WARN level according to the specified format and arguments. |
| public void | warn(String format, Object... arguments)
Implements org. Log a message at the WARN level according to the specified format and arguments. |
| public void | warn(String msg, Throwable t)
Implements org. Log an exception (throwable) at the WARN level with an accompanying message. |
| public void | warn(Marker marker, String msg)
Implements org. Log a message with the specific Marker at the WARN level. |
| public void | warn(Marker marker, String format, Object arg)
Implements org. This method is similar to |
| public void | warn(Marker marker, String format, Object arg1, Object arg2)
Implements org. This method is similar to |
| public void | warn(Marker marker, String format, Object... arguments)
Implements org. This method is similar to |
| public void | warn(Marker marker, String msg, Throwable t)
Implements org. This method is similar to |
| name | back to summary |
|---|---|
| protected String name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AbstractLogger | back to summary |
|---|---|
| public AbstractLogger() | |
| debug | back to summary |
|---|---|
| public void debug(String msg) Implements org. Doc from org. Log a message at the DEBUG level. | |
| debug | back to summary |
|---|---|
| public void debug(String format, Object arg) Implements org. Doc from org. Log a message at the DEBUG level according to the specified format and argument. This form avoids superfluous object creation when the logger is disabled for the DEBUG level. | |
| debug | back to summary |
|---|---|
| public void debug(String format, Object arg1, Object arg2) Implements org. Doc from org. Log a message at the DEBUG level according to the specified format and arguments. This form avoids superfluous object creation when the logger is disabled for the DEBUG level. | |
| debug | back to summary |
|---|---|
| public void debug(String format, Object... arguments) Implements org. Doc from org. Log a message at the DEBUG level according to the specified format and arguments. This form avoids superfluous string concatenation when the logger
is disabled for the DEBUG level. However, this variant incurs the hidden
(and relatively small) cost of creating an | |
| debug | back to summary |
|---|---|
| public void debug(String msg, Throwable t) Implements org. Doc from org. Log an exception (throwable) at the DEBUG level with an accompanying message. | |
| debug | back to summary |
|---|---|
| public void debug(Marker marker, String msg) Implements org. Doc from org. Log a message with the specific Marker at the DEBUG level. | |
| debug | back to summary |
|---|---|
| public void debug(Marker marker, String format, Object arg) Implements org. Doc from org. This method is similar to | |
| debug | back to summary |
|---|---|
| public void debug(Marker marker, String format, Object arg1, Object arg2) Implements org. Doc from org. This method is similar to | |
| debug | back to summary |
|---|---|
| public void debug(Marker marker, String format, Object... arguments) Implements org. Doc from org. This method is similar to | |
| debug | back to summary |
|---|---|
| public void debug(Marker marker, String msg, Throwable t) Implements org. Doc from org. This method is similar to | |
| error | back to summary |
|---|---|
| public void error(String msg) Implements org. Doc from org. Log a message at the ERROR level. | |
| error | back to summary |
|---|---|
| public void error(String format, Object arg) Implements org. Doc from org. Log a message at the ERROR level according to the specified format and argument. This form avoids superfluous object creation when the logger is disabled for the ERROR level. | |
| error | back to summary |
|---|---|
| public void error(String format, Object arg1, Object arg2) Implements org. Doc from org. Log a message at the ERROR level according to the specified format and arguments. This form avoids superfluous object creation when the logger is disabled for the ERROR level. | |
| error | back to summary |
|---|---|
| public void error(String format, Object... arguments) Implements org. Doc from org. Log a message at the ERROR level according to the specified format and arguments. This form avoids superfluous string concatenation when the logger
is disabled for the ERROR level. However, this variant incurs the hidden
(and relatively small) cost of creating an | |
| error | back to summary |
|---|---|
| public void error(String msg, Throwable t) Implements org. Doc from org. Log an exception (throwable) at the ERROR level with an accompanying message. | |
| error | back to summary |
|---|---|
| public void error(Marker marker, String msg) Implements org. Doc from org. Log a message with the specific Marker at the ERROR level. | |
| error | back to summary |
|---|---|
| public void error(Marker marker, String format, Object arg) Implements org. Doc from org. This method is similar to | |
| error | back to summary |
|---|---|
| public void error(Marker marker, String format, Object arg1, Object arg2) Implements org. Doc from org. This method is similar to | |
| error | back to summary |
|---|---|
| public void error(Marker marker, String format, Object... arguments) Implements org. Doc from org. This method is similar to | |
| error | back to summary |
|---|---|
| public void error(Marker marker, String msg, Throwable t) Implements org. Doc from org. This method is similar to | |
| getFullyQualifiedCallerName | back to summary |
|---|---|
| protected abstract String getFullyQualifiedCallerName() | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Return the name of this | |
| handle2ArgsCall | back to summary |
|---|---|
| private void handle2ArgsCall(Level level, Marker marker, String msg, Object arg1, Object arg2) | |
| handle_0ArgsCall | back to summary |
|---|---|
| private void handle_0ArgsCall(Level level, Marker marker, String msg, Throwable t) | |
| handle_1ArgsCall | back to summary |
|---|---|
| private void handle_1ArgsCall(Level level, Marker marker, String msg, Object arg1) | |
| handleArgArrayCall | back to summary |
|---|---|
| private void handleArgArrayCall(Level level, Marker marker, String msg, Object[] args) | |
| handleNormalizedLoggingCall | back to summary |
|---|---|
| protected abstract void handleNormalizedLoggingCall(Level level, Marker marker, String messagePattern, Object[] arguments, Throwable throwable) Given various arguments passed as parameters, perform actual logging. This method assumes that the separation of the args array into actual objects and a throwable has been already operated.
| |
| info | back to summary |
|---|---|
| public void info(String msg) Implements org. Doc from org. Log a message at the INFO level. | |
| info | back to summary |
|---|---|
| public void info(String format, Object arg) Implements org. Doc from org. Log a message at the INFO level according to the specified format and argument. This form avoids superfluous object creation when the logger is disabled for the INFO level. | |
| info | back to summary |
|---|---|
| public void info(String format, Object arg1, Object arg2) Implements org. Doc from org. Log a message at the INFO level according to the specified format and arguments. This form avoids superfluous object creation when the logger is disabled for the INFO level. | |
| info | back to summary |
|---|---|
| public void info(String format, Object... arguments) Implements org. Doc from org. Log a message at the INFO level according to the specified format and arguments. This form avoids superfluous string concatenation when the logger
is disabled for the INFO level. However, this variant incurs the hidden
(and relatively small) cost of creating an | |
| info | back to summary |
|---|---|
| public void info(String msg, Throwable t) Implements org. Doc from org. Log an exception (throwable) at the INFO level with an accompanying message. | |
| info | back to summary |
|---|---|
| public void info(Marker marker, String msg) Implements org. Doc from org. Log a message with the specific Marker at the INFO level. | |
| info | back to summary |
|---|---|
| public void info(Marker marker, String format, Object arg) Implements org. Doc from org. This method is similar to | |
| info | back to summary |
|---|---|
| public void info(Marker marker, String format, Object arg1, Object arg2) Implements org. Doc from org. This method is similar to | |
| info | back to summary |
|---|---|
| public void info(Marker marker, String format, Object... arguments) Implements org. Doc from org. This method is similar to | |
| info | back to summary |
|---|---|
| public void info(Marker marker, String msg, Throwable t) Implements org. Doc from org. This method is similar to | |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() throws ObjectStreamException Replace this instance with a homonymous (same name) logger returned by LoggerFactory. Note that this method is only called during deserialization.
This approach will work well if the desired ILoggerFactory is the one
referenced by
| |
| trace | back to summary |
|---|---|
| public void trace(String msg) Implements org. Doc from org. Log a message at the TRACE level.
| |
| trace | back to summary |
|---|---|
| public void trace(String format, Object arg) Implements org. Doc from org. Log a message at the TRACE level according to the specified format and argument. This form avoids superfluous object creation when the logger is disabled for the TRACE level.
| |
| trace | back to summary |
|---|---|
| public void trace(String format, Object arg1, Object arg2) Implements org. Doc from org. Log a message at the TRACE level according to the specified format and arguments. This form avoids superfluous object creation when the logger is disabled for the TRACE level.
| |
| trace | back to summary |
|---|---|
| public void trace(String format, Object... arguments) Implements org. Doc from org. Log a message at the TRACE level according to the specified format and arguments. This form avoids superfluous string concatenation when the logger
is disabled for the TRACE level. However, this variant incurs the hidden
(and relatively small) cost of creating an
| |
| trace | back to summary |
|---|---|
| public void trace(String msg, Throwable t) Implements org. Doc from org. Log an exception (throwable) at the TRACE level with an accompanying message.
| |
| trace | back to summary |
|---|---|
| public void trace(Marker marker, String msg) Implements org. Doc from org. Log a message with the specific Marker at the TRACE level.
| |
| trace | back to summary |
|---|---|
| public void trace(Marker marker, String format, Object arg) Implements org. Doc from org. This method is similar to
| |
| trace | back to summary |
|---|---|
| public void trace(Marker marker, String format, Object arg1, Object arg2) Implements org. Doc from org. This method is similar to
| |
| trace | back to summary |
|---|---|
| public void trace(Marker marker, String format, Object... argArray) Implements org. Doc from org. This method is similar to
| |
| trace | back to summary |
|---|---|
| public void trace(Marker marker, String msg, Throwable t) Implements org. Doc from org. This method is similar to | |
| warn | back to summary |
|---|---|
| public void warn(String msg) Implements org. Doc from org. Log a message at the WARN level. | |
| warn | back to summary |
|---|---|
| public void warn(String format, Object arg) Implements org. Doc from org. Log a message at the WARN level according to the specified format and argument. This form avoids superfluous object creation when the logger is disabled for the WARN level. | |
| warn | back to summary |
|---|---|
| public void warn(String format, Object arg1, Object arg2) Implements org. Doc from org. Log a message at the WARN level according to the specified format and arguments. This form avoids superfluous object creation when the logger is disabled for the WARN level. | |
| warn | back to summary |
|---|---|
| public void warn(String format, Object... arguments) Implements org. Doc from org. Log a message at the WARN level according to the specified format and arguments. This form avoids superfluous string concatenation when the logger
is disabled for the WARN level. However, this variant incurs the hidden
(and relatively small) cost of creating an | |
| warn | back to summary |
|---|---|
| public void warn(String msg, Throwable t) Implements org. Doc from org. Log an exception (throwable) at the WARN level with an accompanying message. | |
| warn | back to summary |
|---|---|
| public void warn(Marker marker, String msg) Implements org. Doc from org. Log a message with the specific Marker at the WARN level. | |
| warn | back to summary |
|---|---|
| public void warn(Marker marker, String format, Object arg) Implements org. Doc from org. This method is similar to | |
| warn | back to summary |
|---|---|
| public void warn(Marker marker, String format, Object arg1, Object arg2) Implements org. Doc from org. This method is similar to | |
| warn | back to summary |
|---|---|
| public void warn(Marker marker, String format, Object... arguments) Implements org. Doc from org. This method is similar to | |
| warn | back to summary |
|---|---|
| public void warn(Marker marker, String msg, Throwable t) Implements org. Doc from org. This method is similar to | |