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