Interface InternalLogger
- All Known Implementing Classes:
AbstractInternalLogger
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Log a message at the DEBUG level.voidDeprecated.Log a message at the DEBUG level according to the specified format and argument.voidDeprecated.Log a message at the DEBUG level according to the specified format and arguments.voidDeprecated.Log a message at the DEBUG level according to the specified format and arguments.voidDeprecated.Log an exception (throwable) at the DEBUG level with an accompanying message.voidDeprecated.Log an exception (throwable) at the DEBUG level.voidDeprecated.Log a message at the ERROR level.voidDeprecated.Log a message at the ERROR level according to the specified format and argument.voidDeprecated.Log a message at the ERROR level according to the specified format and arguments.voidDeprecated.Log a message at the ERROR level according to the specified format and arguments.voidDeprecated.Log an exception (throwable) at the ERROR level with an accompanying message.voidDeprecated.Log an exception (throwable) at the ERROR level.voidDeprecated.Log a message at the INFO level.voidDeprecated.Log a message at the INFO level according to the specified format and argument.voidDeprecated.Log a message at the INFO level according to the specified format and arguments.voidDeprecated.Log a message at the INFO level according to the specified format and arguments.voidDeprecated.Log an exception (throwable) at the INFO level with an accompanying message.voidDeprecated.Log an exception (throwable) at the INFO level.booleanDeprecated.Is the logger instance enabled for the DEBUG level?booleanisEnabled(InternalLogLevel level) Deprecated.Is the logger instance enabled for the specifiedlevel?booleanDeprecated.Is the logger instance enabled for the ERROR level?booleanDeprecated.Is the logger instance enabled for the INFO level?booleanDeprecated.Is the logger instance enabled for the TRACE level?booleanDeprecated.Is the logger instance enabled for the WARN level?voidlog(InternalLogLevel level, String msg) Deprecated.Log a message at the specifiedlevel.voidlog(InternalLogLevel level, String format, Object arg) Deprecated.Log a message at the specifiedlevelaccording to the specified format and argument.voidlog(InternalLogLevel level, String format, Object... arguments) Deprecated.Log a message at the specifiedlevelaccording to the specified format and arguments.voidlog(InternalLogLevel level, String format, Object argA, Object argB) Deprecated.Log a message at the specifiedlevelaccording to the specified format and arguments.voidlog(InternalLogLevel level, String msg, Throwable t) Deprecated.Log an exception (throwable) at the specifiedlevelwith an accompanying message.voidlog(InternalLogLevel level, Throwable t) Deprecated.Log an exception (throwable) at the specifiedlevel.name()Deprecated.Return the name of thisInternalLoggerinstance.voidDeprecated.Log a message at the TRACE level.voidDeprecated.Log a message at the TRACE level according to the specified format and argument.voidDeprecated.Log a message at the TRACE level according to the specified format and arguments.voidDeprecated.Log a message at the TRACE level according to the specified format and arguments.voidDeprecated.Log an exception (throwable) at the TRACE level with an accompanying message.voidDeprecated.Log an exception (throwable) at the TRACE level.voidDeprecated.Log a message at the WARN level.voidDeprecated.Log a message at the WARN level according to the specified format and argument.voidDeprecated.Log a message at the WARN level according to the specified format and arguments.voidDeprecated.Log a message at the WARN level according to the specified format and arguments.voidDeprecated.Log an exception (throwable) at the WARN level with an accompanying message.voidDeprecated.Log an exception (throwable) at the WARN level.
-
Method Details
-
name
String name()Deprecated.Return the name of thisInternalLoggerinstance.- 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 takingoneandtwoarguments 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 takingoneandtwoarguments 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 takingoneandtwoarguments 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 takingoneandtwoarguments 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 takingoneandtwoarguments 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 specifiedlevelaccording 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 specifiedlevelaccording 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 specifiedlevelaccording 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 takingoneandtwoarguments 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 specifiedlevelwith 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
-
InternalLoggerinstead.