Class JdkLogger
- All Implemented Interfaces:
Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLog a message at the DEBUG level.voidLog a message at the DEBUG level according to the specified format and argument.voidLog a message at the DEBUG level according to the specified format and arguments.voidLog a message at the DEBUG level according to the specified format and arguments.voidLog an exception (throwable) at the DEBUG level with an accompanying message.voidLog a message at the DEBUG level according to the specified format and argument supplier.final voidLog a message at the DEBUG level according to the specified format and argument suppliers.voidLog a message at the DEBUG level according to the specified format and argument suppliers.voidLog an exception (throwable) at the DEBUG level.delegate()voidLog a message at the ERROR level.voidLog a message at the ERROR level according to the specified format and argument.voidLog a message at the ERROR level according to the specified format and arguments.voidLog a message at the ERROR level according to the specified format and arguments.voidLog an exception (throwable) at the ERROR level with an accompanying message.voidLog a message at the ERROR level according to the specified format and argument supplier.final voidLog a message at the ERROR level according to the specified format and argument suppliers.voidLog a message at the ERROR level according to the specified format and argument suppliers.voidLog an exception (throwable) at the ERROR level.voidLog a message at the INFO level.voidLog a message at the INFO level according to the specified format and argument.voidLog a message at the INFO level according to the specified format and arguments.voidLog a message at the INFO level according to the specified format and arguments.voidLog an exception (throwable) at the INFO level with an accompanying message.voidLog a message at the INFO level according to the specified format and argument supplier.final voidLog a message at the INFO level according to the specified format and argument suppliers.voidLog a message at the INFO level according to the specified format and argument suppliers.voidLog an exception (throwable) at the INFO level.booleanIs the logger instance enabled for the DEBUG level?booleanIs the logger instance enabled for the specifiedlevel?booleanIs the logger instance enabled for the ERROR level?booleanIs the logger instance enabled for the INFO level?booleanIs the logger instance enabled for the TRACE level?booleanIs the logger instance enabled for the WARN level?voidLog a message at the specifiedlevellevel.voidLog a message at the specifiedlevellevel according to the specified format and argument.voidLog a message at the specifiedlevellevel according to the specified format and arguments.voidLog a message at the specifiedlevellevel according to the specified format and arguments.voidLog an exception (throwable) at the specifiedlevellevel with an accompanying message.voidLog a message at the specifiedlevellevel according to the specified format and argument supplier.final voidLog a message at the specifiedlevellevel according to the specified format and argument suppliers.voidLog a message at the specifiedlevellevel according to the specified format and argument suppliers.voidLog an exception (throwable) at the specifiedlevellevel.name()Return the name of thisLoggerinstance.voidLog a message at the TRACE level.voidLog a message at the TRACE level according to the specified format and argument.voidLog a message at the TRACE level according to the specified format and arguments.voidLog a message at the TRACE level according to the specified format and arguments.voidLog an exception (throwable) at the TRACE level with an accompanying message.voidLog a message at the TRACE level according to the specified format and argument supplier.final voidLog a message at the TRACE level according to the specified format and argument suppliers.voidLog a message at the TRACE level according to the specified format and argument suppliers.voidLog an exception (throwable) at the TRACE level.voidLog a message at the WARN level.voidLog a message at the WARN level according to the specified format and argument.voidLog a message at the WARN level according to the specified format and arguments.voidLog a message at the WARN level according to the specified format and arguments.voidLog an exception (throwable) at the WARN level with an accompanying message.voidLog a message at the WARN level according to the specified format and argument supplier.final voidLog a message at the WARN level according to the specified format and argument suppliers.voidLog a message at the WARN level according to the specified format and argument suppliers.voidLog an exception (throwable) at the WARN level.
-
Constructor Details
-
JdkLogger
-
-
Method Details
-
delegate
-
isTraceEnabled
public boolean isTraceEnabled()Description copied from interface:LoggerIs the logger instance enabled for the TRACE level?- Returns:
trueif this Logger is enabled for the TRACE level,falseotherwise.
-
trace
Description copied from interface:LoggerLog a message at the TRACE level.- Parameters:
msg- the message string to be logged
-
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and argument.- Parameters:
format- the format stringarg- the argument
-
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and arguments.- Parameters:
format- the format stringarg1- the first argumentarg2- the second argument
-
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of 3 or more arguments
-
trace
Description copied from interface:LoggerLog an exception (throwable) at the TRACE level with an accompanying message.- Parameters:
msg- the message accompanying the exceptiont- the exception (throwable) to log
-
isDebugEnabled
public boolean isDebugEnabled()Description copied from interface:LoggerIs the logger instance enabled for the DEBUG level?- Returns:
trueif this Logger is enabled for the DEBUG level,falseotherwise.
-
debug
Description copied from interface:LoggerLog a message at the DEBUG level.- Parameters:
msg- the message string to be logged
-
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and argument.- Parameters:
format- the format stringarg- the argument
-
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and arguments.- Parameters:
format- the format stringarg1- the first argumentarg2- the second argument
-
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of 3 or more arguments
-
debug
Description copied from interface:LoggerLog an exception (throwable) at the DEBUG level with an accompanying message.- Parameters:
msg- the message accompanying the exceptiont- the exception (throwable) to log
-
isInfoEnabled
public boolean isInfoEnabled()Description copied from interface:LoggerIs the logger instance enabled for the INFO level?- Returns:
trueif this Logger is enabled for the INFO level,falseotherwise.
-
info
Description copied from interface:LoggerLog a message at the INFO level.- Parameters:
msg- the message string to be logged
-
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and argument.- Parameters:
format- the format stringarg- the argument
-
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and arguments.- Parameters:
format- the format stringarg1- the first argumentarg2- the second argument
-
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of 3 or more arguments
-
info
Description copied from interface:LoggerLog an exception (throwable) at the INFO level with an accompanying message.- Parameters:
msg- the message accompanying the exceptiont- the exception (throwable) to log
-
isWarnEnabled
public boolean isWarnEnabled()Description copied from interface:LoggerIs the logger instance enabled for the WARN level?- Returns:
trueif this Logger is enabled for the WARN level,falseotherwise.
-
warn
Description copied from interface:LoggerLog a message at the WARN level.- Parameters:
msg- the message string to be logged
-
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and argument.- Parameters:
format- the format stringarg- the argument
-
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and arguments.- Parameters:
format- the format stringarg1- the first argumentarg2- the second argument
-
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of 3 or more arguments
-
warn
Description copied from interface:LoggerLog an exception (throwable) at the WARN level with an accompanying message.- Parameters:
msg- the message accompanying the exceptiont- the exception (throwable) to log
-
isErrorEnabled
public boolean isErrorEnabled()Description copied from interface:LoggerIs the logger instance enabled for the ERROR level?- Returns:
trueif this Logger is enabled for the ERROR level,falseotherwise.
-
error
Description copied from interface:LoggerLog a message at the ERROR level.- Parameters:
msg- the message string to be logged
-
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and argument.- Parameters:
format- the format stringarg- the argument
-
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and arguments.- Parameters:
format- the format stringarg1- the first argumentarg2- the second argument
-
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of 3 or more arguments
-
error
Description copied from interface:LoggerLog an exception (throwable) at the ERROR level with an accompanying message.- Parameters:
msg- the message accompanying the exceptiont- the exception (throwable) to log
-
name
Description copied from interface:LoggerReturn the name of thisLoggerinstance. -
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and argument supplier.The supplier is not called when the logger is disabled for the TRACE level.
-
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the TRACE level.
-
trace
Description copied from interface:LoggerLog a message at the TRACE level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the TRACE level.
-
trace
Description copied from interface:LoggerLog an exception (throwable) at the TRACE level. -
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and argument supplier.The supplier is not called when the logger is disabled for the DEBUG level.
-
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the DEBUG level.
-
debug
Description copied from interface:LoggerLog a message at the DEBUG level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the DEBUG level.
-
debug
Description copied from interface:LoggerLog an exception (throwable) at the DEBUG level. -
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and argument supplier.The supplier is not called when the logger is disabled for the INFO level.
-
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the INFO level.
-
info
Description copied from interface:LoggerLog a message at the INFO level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the INFO level.
-
info
Description copied from interface:LoggerLog an exception (throwable) at the INFO level. -
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and argument supplier.The supplier is not called when the logger is disabled for the WARN level.
-
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the WARN level.
-
warn
Description copied from interface:LoggerLog a message at the WARN level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the WARN level.
-
warn
Description copied from interface:LoggerLog an exception (throwable) at the WARN level. -
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and argument supplier.The supplier is not called when the logger is disabled for the ERROR level.
-
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the ERROR level.
-
error
Description copied from interface:LoggerLog a message at the ERROR level according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the ERROR level.
-
error
Description copied from interface:LoggerLog an exception (throwable) at the ERROR level. -
isEnabled
Description copied from interface:LoggerIs the logger instance enabled for the specifiedlevel? -
log
Description copied from interface:LoggerLog a message at the specifiedlevellevel. -
log
Description copied from interface:LoggerLog a message at the specifiedlevellevel according to the specified format and argument. -
log
Description copied from interface:LoggerLog a message at the specifiedlevellevel according to the specified format and argument supplier.The supplier is not called when the logger is disabled for the specified
levellevel. -
log
Description copied from interface:LoggerLog a message at the specifiedlevellevel according to the specified format and arguments. -
log
public void log(LogLevel level, String format, Supplier<Object> supplier1, Supplier<Object> supplier2) Description copied from interface:LoggerLog a message at the specifiedlevellevel according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the specified
levellevel. -
log
Description copied from interface:LoggerLog a message at the specifiedlevellevel according to the specified format and arguments. -
log
Description copied from interface:LoggerLog a message at the specifiedlevellevel according to the specified format and argument suppliers.The suppliers are not called when the logger is disabled for the specified
levellevel. -
log
Description copied from interface:LoggerLog an exception (throwable) at the specifiedlevellevel with an accompanying message. -
log
Description copied from interface:LoggerLog an exception (throwable) at the specifiedlevellevel.
-