public interface Log
Modifier and Type | Method and Description |
---|---|
void |
debug(Object message)
Log a message object with the DEBUG level.
|
void |
debug(Object message,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable.
|
void |
error(Object message)
Log a message object with the ERROR level.
|
void |
error(Object message,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable.
|
void |
fatal(Object message)
Log a message object with the FATAL level.
|
void |
fatal(Object message,
Throwable throwable)
Log a message object with the FATAL level including the stack trace of the Throwable.
|
void |
info(Object message)
Log a message object with the INFO level.
|
void |
info(Object message,
Throwable throwable)
Log a message object with the INFO level including the stack trace of the Throwable.
|
boolean |
isDebugEnabled()
Check whether this category is enabled for the DEBUG Level.
|
boolean |
isErrorEnabled()
Check whether this category is enabled for the ERROR Level.
|
boolean |
isFatalEnabled()
Check whether this category is enabled for the FATAL Level.
|
boolean |
isInfoEnabled()
Check whether this category is enabled for the INFO Level.
|
boolean |
isTraceEnabled()
Check whether this category is enabled for the TRACE Level.
|
boolean |
isWarnEnabled()
Check whether this category is enabled for the WARN Level.
|
void |
trace(Object message)
Log a message object with the TRACE level.
|
void |
trace(Object message,
Throwable throwable)
Log a message object with the trace level including the stack trace of the Throwable.
|
void |
warn(Object message)
Log a message object with the WARN level.
|
void |
warn(Object message,
Throwable throwable)
Log a message object with the WARN level including the stack trace of the Throwable.
|
void debug(Object message)
message
- the messagevoid debug(Object message, Throwable throwable)
message
- the messagethrowable
- the errorvoid error(Object message)
message
- the messagevoid error(Object message, Throwable throwable)
message
- the messagethrowable
- the errorvoid fatal(Object message)
message
- the messagevoid fatal(Object message, Throwable throwable)
message
- the messagethrowable
- the errorvoid info(Object message)
message
- the messagevoid info(Object message, Throwable throwable)
message
- the messagethrowable
- the errorboolean isDebugEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()
boolean isInfoEnabled()
boolean isTraceEnabled()
boolean isWarnEnabled()
void trace(Object message)
message
- the messagevoid trace(Object message, Throwable throwable)
message
- the messagethrowable
- the errorvoid warn(Object message)
message
- the messageCopyright © 2000–2022 EPAM Systems. All rights reserved.