Interface InternalLogger
- All Known Implementing Classes:
AbstractInternalLogger
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Log a message at the DEBUG level.void
Deprecated.Log a message at the DEBUG level according to the specified format and argument.void
Deprecated.Log a message at the DEBUG level according to the specified format and arguments.void
Deprecated.Log a message at the DEBUG level according to the specified format and arguments.void
Deprecated.Log an exception (throwable) at the DEBUG level with an accompanying message.void
Deprecated.Log an exception (throwable) at the DEBUG level.void
Deprecated.Log a message at the ERROR level.void
Deprecated.Log a message at the ERROR level according to the specified format and argument.void
Deprecated.Log a message at the ERROR level according to the specified format and arguments.void
Deprecated.Log a message at the ERROR level according to the specified format and arguments.void
Deprecated.Log an exception (throwable) at the ERROR level with an accompanying message.void
Deprecated.Log an exception (throwable) at the ERROR level.void
Deprecated.Log a message at the INFO level.void
Deprecated.Log a message at the INFO level according to the specified format and argument.void
Deprecated.Log a message at the INFO level according to the specified format and arguments.void
Deprecated.Log a message at the INFO level according to the specified format and arguments.void
Deprecated.Log an exception (throwable) at the INFO level with an accompanying message.void
Deprecated.Log an exception (throwable) at the INFO level.boolean
Deprecated.Is the logger instance enabled for the DEBUG level?boolean
isEnabled
(InternalLogLevel level) Deprecated.Is the logger instance enabled for the specifiedlevel
?boolean
Deprecated.Is the logger instance enabled for the ERROR level?boolean
Deprecated.Is the logger instance enabled for the INFO level?boolean
Deprecated.Is the logger instance enabled for the TRACE level?boolean
Deprecated.Is the logger instance enabled for the WARN level?void
log
(InternalLogLevel level, String msg) Deprecated.Log a message at the specifiedlevel
.void
log
(InternalLogLevel level, String format, Object arg) Deprecated.Log a message at the specifiedlevel
according to the specified format and argument.void
log
(InternalLogLevel level, String format, Object... arguments) Deprecated.Log a message at the specifiedlevel
according to the specified format and arguments.void
log
(InternalLogLevel level, String format, Object argA, Object argB) Deprecated.Log a message at the specifiedlevel
according to the specified format and arguments.void
log
(InternalLogLevel level, String msg, Throwable t) Deprecated.Log an exception (throwable) at the specifiedlevel
with an accompanying message.void
log
(InternalLogLevel level, Throwable t) Deprecated.Log an exception (throwable) at the specifiedlevel
.name()
Deprecated.Return the name of thisInternalLogger
instance.void
Deprecated.Log a message at the TRACE level.void
Deprecated.Log a message at the TRACE level according to the specified format and argument.void
Deprecated.Log a message at the TRACE level according to the specified format and arguments.void
Deprecated.Log a message at the TRACE level according to the specified format and arguments.void
Deprecated.Log an exception (throwable) at the TRACE level with an accompanying message.void
Deprecated.Log an exception (throwable) at the TRACE level.void
Deprecated.Log a message at the WARN level.void
Deprecated.Log a message at the WARN level according to the specified format and argument.void
Deprecated.Log a message at the WARN level according to the specified format and arguments.void
Deprecated.Log a message at the WARN level according to the specified format and arguments.void
Deprecated.Log an exception (throwable) at the WARN level with an accompanying message.void
Deprecated.Log an exception (throwable) at the WARN level.
-
Method Details
-
name
String name()Deprecated.Return the name of thisInternalLogger
instance.- Returns:
- name of this logger instance
-
isTraceEnabled
boolean isTraceEnabled()Deprecated.Is the logger instance enabled for the TRACE level?- Returns:
- True if this Logger is enabled for the TRACE level, false otherwise.
-
trace
Deprecated.Log a message at the TRACE level.- Parameters:
msg
- the message string to be logged
-
trace
Deprecated.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
-
trace
Deprecated.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 stringargA
- the first argumentargB
- the second argument
-
trace
Deprecated.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
Object[]
before invoking the method, even if this logger is disabled for TRACE. The variants takingone
andtwo
arguments exist solely in order to avoid this hidden cost.- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
trace
Deprecated.Log an exception (throwable) at the TRACE level with an accompanying message.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
trace
Deprecated.Log an exception (throwable) at the TRACE level.- Parameters:
t
- the exception (throwable) to log
-
isDebugEnabled
boolean isDebugEnabled()Deprecated.Is the logger instance enabled for the DEBUG level?- Returns:
- True if this Logger is enabled for the DEBUG level, false otherwise.
-
debug
Deprecated.Log a message at the DEBUG level.- Parameters:
msg
- the message string to be logged
-
debug
Deprecated.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
-
debug
Deprecated.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 stringargA
- the first argumentargB
- the second argument
-
debug
Deprecated.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
Object[]
before invoking the method, even if this logger is disabled for DEBUG. The variants takingone
andtwo
arguments exist solely in order to avoid this hidden cost.- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
debug
Deprecated.Log an exception (throwable) at the DEBUG level with an accompanying message.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
debug
Deprecated.Log an exception (throwable) at the DEBUG level.- Parameters:
t
- the exception (throwable) to log
-
isInfoEnabled
boolean isInfoEnabled()Deprecated.Is the logger instance enabled for the INFO level?- Returns:
- True if this Logger is enabled for the INFO level, false otherwise.
-
info
Deprecated.Log a message at the INFO level.- Parameters:
msg
- the message string to be logged
-
info
Deprecated.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
-
info
Deprecated.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 stringargA
- the first argumentargB
- the second argument
-
info
Deprecated.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
Object[]
before invoking the method, even if this logger is disabled for INFO. The variants takingone
andtwo
arguments exist solely in order to avoid this hidden cost.- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
info
Deprecated.Log an exception (throwable) at the INFO level with an accompanying message.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
info
Deprecated.Log an exception (throwable) at the INFO level.- Parameters:
t
- the exception (throwable) to log
-
isWarnEnabled
boolean isWarnEnabled()Deprecated.Is the logger instance enabled for the WARN level?- Returns:
- True if this Logger is enabled for the WARN level, false otherwise.
-
warn
Deprecated.Log a message at the WARN level.- Parameters:
msg
- the message string to be logged
-
warn
Deprecated.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
-
warn
Deprecated.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
Object[]
before invoking the method, even if this logger is disabled for WARN. The variants takingone
andtwo
arguments exist solely in order to avoid this hidden cost.- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
warn
Deprecated.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 stringargA
- the first argumentargB
- the second argument
-
warn
Deprecated.Log an exception (throwable) at the WARN level with an accompanying message.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
warn
Deprecated.Log an exception (throwable) at the WARN level.- Parameters:
t
- the exception (throwable) to log
-
isErrorEnabled
boolean isErrorEnabled()Deprecated.Is the logger instance enabled for the ERROR level?- Returns:
- True if this Logger is enabled for the ERROR level, false otherwise.
-
error
Deprecated.Log a message at the ERROR level.- Parameters:
msg
- the message string to be logged
-
error
Deprecated.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
-
error
Deprecated.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 stringargA
- the first argumentargB
- the second argument
-
error
Deprecated.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
Object[]
before invoking the method, even if this logger is disabled for ERROR. The variants takingone
andtwo
arguments exist solely in order to avoid this hidden cost.- Parameters:
format
- the format stringarguments
- a list of 3 or more arguments
-
error
Deprecated.Log an exception (throwable) at the ERROR level with an accompanying message.- Parameters:
msg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
error
Deprecated.Log an exception (throwable) at the ERROR level.- Parameters:
t
- the exception (throwable) to log
-
isEnabled
Deprecated.Is the logger instance enabled for the specifiedlevel
?- Parameters:
level
- log level- Returns:
- True if this Logger is enabled for the specified
level
, false otherwise.
-
log
Deprecated.Log a message at the specifiedlevel
.- Parameters:
level
- log levelmsg
- the message string to be logged
-
log
Deprecated.Log a message at the specifiedlevel
according to the specified format and argument.This form avoids superfluous object creation when the logger is disabled for the specified
level
.- Parameters:
level
- log levelformat
- the format stringarg
- the argument
-
log
Deprecated.Log a message at the specifiedlevel
according to the specified format and arguments.This form avoids superfluous object creation when the logger is disabled for the specified
level
.- Parameters:
level
- log levelformat
- the format stringargA
- the first argumentargB
- the second argument
-
log
Deprecated.Log a message at the specifiedlevel
according to the specified format and arguments.This form avoids superfluous string concatenation when the logger is disabled for the specified
level
. However, this variant incurs the hidden (and relatively small) cost of creating anObject[]
before invoking the method, even if this logger is disabled for the specifiedlevel
. The variants takingone
andtwo
arguments exist solely in order to avoid this hidden cost.- Parameters:
level
- log levelformat
- the format stringarguments
- a list of 3 or more arguments
-
log
Deprecated.Log an exception (throwable) at the specifiedlevel
with an accompanying message.- Parameters:
level
- log levelmsg
- the message accompanying the exceptiont
- the exception (throwable) to log
-
log
Deprecated.Log an exception (throwable) at the specifiedlevel
.- Parameters:
level
- log levelt
- the exception (throwable) to log
-
InternalLogger
instead.