| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log |
LOGGER_INSTANCE_NAME| Constructor and Description |
|---|
Slf4JLogger(String 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.
|
public Slf4JLogger(String name)
public boolean isDebugEnabled()
LogisDebugEnabled in interface Logpublic boolean isErrorEnabled()
LogisErrorEnabled in interface Logpublic boolean isFatalEnabled()
LogisFatalEnabled in interface Logpublic boolean isInfoEnabled()
LogisInfoEnabled in interface Logpublic boolean isTraceEnabled()
LogisTraceEnabled in interface Logpublic boolean isWarnEnabled()
LogisWarnEnabled in interface Logpublic void logDebug(Object msg)
Logpublic void logDebug(Object msg, Throwable thrown)
Logpublic void logError(Object msg)
Logpublic void logError(Object msg, Throwable thrown)
Logpublic void logFatal(Object msg)
Logpublic void logFatal(Object msg, Throwable thrown)
Logpublic void logInfo(Object msg)
Logpublic void logInfo(Object msg, Throwable thrown)
Logpublic void logTrace(Object msg)
Logpublic void logTrace(Object msg, Throwable thrown)
Logpublic void logWarn(Object msg)
Log