public interface Log
Modifier and Type | Interface and Description |
---|---|
static class |
Log.Level
The log level.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.Object message)
Log a message in
DEBUG level. |
void |
debug(java.lang.Object message,
java.lang.Object details)
Log a message in
DEBUG level. |
void |
debug(java.lang.Object message,
java.lang.Object details,
java.lang.Throwable throwable)
Log a message in
DEBUG level. |
void |
debug(java.lang.Object message,
java.lang.Throwable throwable)
Log a message in
DEBUG level. |
void |
error(java.lang.Object message)
Log a message in
ERROR level. |
void |
error(java.lang.Object message,
java.lang.Object details)
Log a message in
ERROR level. |
void |
error(java.lang.Object message,
java.lang.Object details,
java.lang.Throwable throwable)
Log a message in
ERROR level. |
void |
error(java.lang.Object message,
java.lang.Throwable throwable)
Log a message in
ERROR level. |
void |
info(java.lang.Object message)
Log a message in
INFO level. |
void |
info(java.lang.Object message,
java.lang.Object details)
Log a message in
INFO level. |
void |
info(java.lang.Object message,
java.lang.Object details,
java.lang.Throwable throwable)
Log a message in
INFO level. |
void |
info(java.lang.Object message,
java.lang.Throwable throwable)
Log a message in
INFO level. |
boolean |
isDebugEnabled()
Check if
DEBUG level logging is enabled. |
boolean |
isInfoEnabled()
Check if
INFO level logging is enabled. |
boolean |
isTraceEnabled()
Check if
TRACE level logging is enabled. |
void |
trace(java.lang.Object message)
Log a message in
TRACE level. |
void |
trace(java.lang.Object message,
java.lang.Object details)
Log a message in
TRACE level. |
void |
trace(java.lang.Object message,
java.lang.Object details,
java.lang.Throwable throwable)
Log a message in
TRACE level. |
void |
trace(java.lang.Object message,
java.lang.Throwable throwable)
Log a message in
TRACE level. |
void |
warn(java.lang.Object message)
Log a message in
WARN level. |
void |
warn(java.lang.Object message,
java.lang.Object details)
Log a message in
WARN level. |
void |
warn(java.lang.Object message,
java.lang.Object details,
java.lang.Throwable throwable)
Log a message in
WARN level. |
void |
warn(java.lang.Object message,
java.lang.Throwable throwable)
Log a message in
WARN level. |
boolean isTraceEnabled()
TRACE
level logging is enabled.void trace(java.lang.Object message)
TRACE
level.message
- The log messagevoid trace(java.lang.Object message, java.lang.Object details)
TRACE
level.message
- The log messagedetails
- The message details (padded to a constant-width message);void trace(java.lang.Object message, java.lang.Throwable throwable)
TRACE
level.message
- The log messagethrowable
- An exception whose stacktrace is logged along with the
messagevoid trace(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
TRACE
level.message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the
messageboolean isDebugEnabled()
DEBUG
level logging is enabled.void debug(java.lang.Object message)
DEBUG
level.message
- The log messagevoid debug(java.lang.Object message, java.lang.Object details)
DEBUG
level.message
- The log messagedetails
- The message details (padded to a constant-width message);void debug(java.lang.Object message, java.lang.Throwable throwable)
DEBUG
level.message
- The log messagethrowable
- An exception whose stacktrace is logged along with the
messagevoid debug(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
DEBUG
level.message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the
messageboolean isInfoEnabled()
INFO
level logging is enabled.void info(java.lang.Object message)
INFO
level.message
- The log messagevoid info(java.lang.Object message, java.lang.Object details)
INFO
level.message
- The log messagedetails
- The message details (padded to a constant-width message);void info(java.lang.Object message, java.lang.Throwable throwable)
INFO
level.message
- The log messagethrowable
- An exception whose stacktrace is logged along with the
messagevoid info(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
INFO
level.message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the
messagevoid warn(java.lang.Object message)
WARN
level.message
- The log messagevoid warn(java.lang.Object message, java.lang.Object details)
WARN
level.message
- The log messagedetails
- The message details (padded to a constant-width message);void warn(java.lang.Object message, java.lang.Throwable throwable)
WARN
level.message
- The log messagethrowable
- An exception whose stacktrace is logged along with the
messagevoid warn(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
WARN
level.message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the
messagevoid error(java.lang.Object message)
ERROR
level.message
- The log messagevoid error(java.lang.Object message, java.lang.Object details)
ERROR
level.message
- The log messagedetails
- The message details (padded to a constant-width message);void error(java.lang.Object message, java.lang.Throwable throwable)
ERROR
level.message
- The log messagethrowable
- An exception whose stacktrace is logged along with the
messagevoid error(java.lang.Object message, java.lang.Object details, java.lang.Throwable throwable)
ERROR
level.message
- The log messagedetails
- The message details (padded to a constant-width message);throwable
- An exception whose stacktrace is logged along with the
messageCopyright © 2018. All Rights Reserved.