|
MySQL Connector/J size='-1'>5.0.8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
Unified interface to logging facilities on different platforms
Method Summary | |
---|---|
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(java.lang.Object msg)
Logs the given message instance using the 'debug' level |
void |
logDebug(java.lang.Object msg,
java.lang.Throwable thrown)
Logs the given message and Throwable at the 'debug' level. |
void |
logError(java.lang.Object msg)
Logs the given message instance using the 'error' level |
void |
logError(java.lang.Object msg,
java.lang.Throwable thrown)
Logs the given message and Throwable at the 'error' level. |
void |
logFatal(java.lang.Object msg)
Logs the given message instance using the 'fatal' level |
void |
logFatal(java.lang.Object msg,
java.lang.Throwable thrown)
Logs the given message and Throwable at the 'fatal' level. |
void |
logInfo(java.lang.Object msg)
Logs the given message instance using the 'info' level |
void |
logInfo(java.lang.Object msg,
java.lang.Throwable thrown)
Logs the given message and Throwable at the 'info' level. |
void |
logTrace(java.lang.Object msg)
Logs the given message instance using the 'trace' level |
void |
logTrace(java.lang.Object msg,
java.lang.Throwable thrown)
Logs the given message and Throwable at the 'trace' level. |
void |
logWarn(java.lang.Object msg)
Logs the given message instance using the 'warn' level |
void |
logWarn(java.lang.Object msg,
java.lang.Throwable thrown)
Logs the given message and Throwable at the 'warn' level. |
Method Detail |
---|
boolean isDebugEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()
boolean isInfoEnabled()
boolean isTraceEnabled()
boolean isWarnEnabled()
void logDebug(java.lang.Object msg)
msg
- the message to logvoid logDebug(java.lang.Object msg, java.lang.Throwable thrown)
msg
- the message to logthrown
- the throwable to log (may be null)void logError(java.lang.Object msg)
msg
- the message to logvoid logError(java.lang.Object msg, java.lang.Throwable thrown)
msg
- the message to logthrown
- the throwable to log (may be null)void logFatal(java.lang.Object msg)
msg
- the message to logvoid logFatal(java.lang.Object msg, java.lang.Throwable thrown)
msg
- the message to logthrown
- the throwable to log (may be null)void logInfo(java.lang.Object msg)
msg
- the message to logvoid logInfo(java.lang.Object msg, java.lang.Throwable thrown)
msg
- the message to logthrown
- the throwable to log (may be null)void logTrace(java.lang.Object msg)
msg
- the message to logvoid logTrace(java.lang.Object msg, java.lang.Throwable thrown)
msg
- the message to logthrown
- the throwable to log (may be null)void logWarn(java.lang.Object msg)
msg
- the message to logvoid logWarn(java.lang.Object msg, java.lang.Throwable thrown)
msg
- the message to logthrown
- the throwable to log (may be null)
|
MySQL Connector/J size='-1'>5.0.8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |