The main user interface to logging. It is expected that logging
takes place through concrete implementations of this interface.
Case insensitive String constant used to retrieve the name of the root logger.
Return the name of this
Logger instance.
Is the logger instance enabled for the TRACE level?
- Returns:
- True if this Logger is enabled for the TRACE level,
false otherwise.
- Since:
- 1.4
Log a message at the TRACE level.
- Parameters:
msg the message string to be logged- Since:
- 1.4
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.
- Parameters:
format the format stringarg the argument- Since:
- 1.4
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.
- Parameters:
format the format stringarg1 the first argumentarg2 the second argument- Since:
- 1.4
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.
- Parameters:
format the format stringargArray an array of arguments- Since:
- 1.4
Log an exception (throwable) at the TRACE level with an
accompanying message.
- Parameters:
msg the message accompanying the exceptiont the exception (throwable) to log- Since:
- 1.4
Similar to
isTraceEnabled() method except that the
marker data is also taken into account.
- Parameters:
marker The marker data to take into consideration- Since:
- 1.4
Log a message with the specific Marker at the TRACE level.
- Parameters:
marker the marker data specific to this log statementmsg the message string to be logged- Since:
- 1.4
This method is similar to
trace(java.lang.String,java.lang.Object) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg the argument- Since:
- 1.4
This method is similar to
trace(java.lang.String,java.lang.Object,java.lang.Object)
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg1 the first argumentarg2 the second argument- Since:
- 1.4
This method is similar to
trace(java.lang.String,java.lang.Object[])
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringargArray an array of arguments- Since:
- 1.4
This method is similar to
trace(java.lang.String,java.lang.Throwable) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementmsg the message accompanying the exceptiont the exception (throwable) to log- Since:
- 1.4
Is the logger instance enabled for the DEBUG level?
- Returns:
- True if this Logger is enabled for the DEBUG level,
false otherwise.
Log a message at the DEBUG level.
- Parameters:
msg the message string to be logged
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.
- Parameters:
format the format stringarg the argument
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.
- Parameters:
format the format stringarg1 the first argumentarg2 the second argument
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.
- Parameters:
format the format stringargArray an array of arguments
Log an exception (throwable) at the DEBUG level with an
accompanying message.
- Parameters:
msg the message accompanying the exceptiont the exception (throwable) to log
Similar to
isDebugEnabled() method except that the
marker data is also taken into account.
- Parameters:
marker The marker data to take into consideration
Log a message with the specific Marker at the DEBUG level.
- Parameters:
marker the marker data specific to this log statementmsg the message string to be logged
This method is similar to
debug(java.lang.String,java.lang.Object) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg the argument
This method is similar to
debug(java.lang.String,java.lang.Object,java.lang.Object)
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg1 the first argumentarg2 the second argument
This method is similar to
debug(java.lang.String,java.lang.Object[])
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringargArray an array of arguments
This method is similar to
debug(java.lang.String,java.lang.Throwable) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementmsg the message accompanying the exceptiont the exception (throwable) to log
Is the logger instance enabled for the INFO level?
- Returns:
- True if this Logger is enabled for the INFO level,
false otherwise.
Log a message at the INFO level.
- Parameters:
msg the message string to be logged
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.
- Parameters:
format the format stringarg the argument
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.
- Parameters:
format the format stringarg1 the first argumentarg2 the second argument
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.
- Parameters:
format the format stringargArray an array of arguments
Log an exception (throwable) at the INFO level with an
accompanying message.
- Parameters:
msg the message accompanying the exceptiont the exception (throwable) to log
Similar to
isInfoEnabled() method except that the marker
data is also taken into consideration.
- Parameters:
marker The marker data to take into consideration
Log a message with the specific Marker at the INFO level.
- Parameters:
marker The marker specific to this log statementmsg the message string to be logged
This method is similar to
info(java.lang.String,java.lang.Object) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg the argument
This method is similar to
info(java.lang.String,java.lang.Object,java.lang.Object)
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg1 the first argumentarg2 the second argument
This method is similar to
info(java.lang.String,java.lang.Object[])
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringargArray an array of arguments
This method is similar to
info(java.lang.String,java.lang.Throwable) method
except that the marker data is also taken into consideration.
- Parameters:
marker the marker data for this log statementmsg the message accompanying the exceptiont the exception (throwable) to log
Is the logger instance enabled for the WARN level?
- Returns:
- True if this Logger is enabled for the WARN level,
false otherwise.
Log a message at the WARN level.
- Parameters:
msg the message string to be logged
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.
- Parameters:
format the format stringarg the argument
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.
- Parameters:
format the format stringargArray an array of arguments
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.
- Parameters:
format the format stringarg1 the first argumentarg2 the second argument
Log an exception (throwable) at the WARN level with an
accompanying message.
- Parameters:
msg the message accompanying the exceptiont the exception (throwable) to log
Similar to
isWarnEnabled() method except that the marker
data is also taken into consideration.
- Parameters:
marker The marker data to take into consideration
Log a message with the specific Marker at the WARN level.
- Parameters:
marker The marker specific to this log statementmsg the message string to be logged
This method is similar to
warn(java.lang.String,java.lang.Object) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg the argument
This method is similar to
warn(java.lang.String,java.lang.Object,java.lang.Object)
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg1 the first argumentarg2 the second argument
This method is similar to
warn(java.lang.String,java.lang.Object[])
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringargArray an array of arguments
This method is similar to
warn(java.lang.String,java.lang.Throwable) method
except that the marker data is also taken into consideration.
- Parameters:
marker the marker data for this log statementmsg the message accompanying the exceptiont the exception (throwable) to log
Is the logger instance enabled for the ERROR level?
- Returns:
- True if this Logger is enabled for the ERROR level,
false otherwise.
Log a message at the ERROR level.
- Parameters:
msg the message string to be logged
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.
- Parameters:
format the format stringarg the argument
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.
- Parameters:
format the format stringarg1 the first argumentarg2 the second argument
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.
- Parameters:
format the format stringargArray an array of arguments
Log an exception (throwable) at the ERROR level with an
accompanying message.
- Parameters:
msg the message accompanying the exceptiont the exception (throwable) to log
Similar to
isErrorEnabled() method except that the
marker data is also taken into consideration.
- Parameters:
marker The marker data to take into consideration
Log a message with the specific Marker at the ERROR level.
- Parameters:
marker The marker specific to this log statementmsg the message string to be logged
This method is similar to
error(java.lang.String,java.lang.Object) method except that the
marker data is also taken into consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg the argument
This method is similar to
error(java.lang.String,java.lang.Object,java.lang.Object)
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringarg1 the first argumentarg2 the second argument
This method is similar to
error(java.lang.String,java.lang.Object[])
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementformat the format stringargArray an array of arguments
This method is similar to
error(java.lang.String,java.lang.Throwable)
method except that the marker data is also taken into
consideration.
- Parameters:
marker the marker data specific to this log statementmsg the message accompanying the exceptiont the exception (throwable) to log