public interface Log
| Modifier and Type | Field and Description |
|---|---|
static String |
LOGGER_INSTANCE_NAME
Logger instance name
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDebugEnabled()
Is the 'debug' log level enabled?
|
boolean |
isErrorEnabled()
Is the 'error' log level enabled?
|
boolean |
isFatalEnabled()
Is the 'fatal' log level enabled?
|
boolean |
isInfoEnabled()
Is the 'info' log level enabled?
|
boolean |
isTraceEnabled()
Is the 'trace' log level enabled?
|
boolean |
isWarnEnabled()
Is the 'warn' log level enabled?
|
void |
logDebug(Object msg)
Logs the given message instance using the 'debug' level
|
void |
logDebug(Object msg,
Throwable thrown)
Logs the given message and Throwable at the 'debug' level.
|
void |
logError(Object msg)
Logs the given message instance using the 'error' level
|
void |
logError(Object msg,
Throwable thrown)
Logs the given message and Throwable at the 'error' level.
|
void |
logFatal(Object msg)
Logs the given message instance using the 'fatal' level
|
void |
logFatal(Object msg,
Throwable thrown)
Logs the given message and Throwable at the 'fatal' level.
|
void |
logInfo(Object msg)
Logs the given message instance using the 'info' level
|
void |
logInfo(Object msg,
Throwable thrown)
Logs the given message and Throwable at the 'info' level.
|
void |
logTrace(Object msg)
Logs the given message instance using the 'trace' level
|
void |
logTrace(Object msg,
Throwable thrown)
Logs the given message and Throwable at the 'trace' level.
|
void |
logWarn(Object msg)
Logs the given message instance using the 'warn' level
|
void |
logWarn(Object msg,
Throwable thrown)
Logs the given message and Throwable at the 'warn' level.
|
static final String LOGGER_INSTANCE_NAME
boolean isDebugEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()
boolean isInfoEnabled()
boolean isTraceEnabled()
boolean isWarnEnabled()
void logDebug(Object msg)
msg - the message to logvoid logDebug(Object msg, Throwable thrown)
msg - the message to logthrown - the throwable to log (may be null)void logError(Object msg)
msg - the message to logvoid logError(Object msg, Throwable thrown)
msg - the message to logthrown - the throwable to log (may be null)void logFatal(Object msg)
msg - the message to logvoid logFatal(Object msg, Throwable thrown)
msg - the message to logthrown - the throwable to log (may be null)void logInfo(Object msg)
msg - the message to logvoid logInfo(Object msg, Throwable thrown)
msg - the message to logthrown - the throwable to log (may be null)void logTrace(Object msg)
msg - the message to logvoid logTrace(Object msg, Throwable thrown)
msg - the message to logthrown - the throwable to log (may be null)void logWarn(Object msg)
msg - the message to log