|
MySQL Connector/J size='-1'>5.0.8 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysql.jdbc.log.NullLogger
A logger that does nothing. Used before the log is configured via the URL or properties.
Constructor Summary | |
NullLogger(java.lang.String instanceName)
Creates a new NullLogger with the given name |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullLogger(java.lang.String instanceName)
instanceName
- (ignored)Method Detail |
public boolean isDebugEnabled()
Log
isDebugEnabled
in interface Log
Log.isDebugEnabled()
public boolean isErrorEnabled()
Log
isErrorEnabled
in interface Log
Log.isErrorEnabled()
public boolean isFatalEnabled()
Log
isFatalEnabled
in interface Log
Log.isFatalEnabled()
public boolean isInfoEnabled()
Log
isInfoEnabled
in interface Log
Log.isInfoEnabled()
public boolean isTraceEnabled()
Log
isTraceEnabled
in interface Log
Log.isTraceEnabled()
public boolean isWarnEnabled()
Log
isWarnEnabled
in interface Log
Log.isWarnEnabled()
public void logDebug(java.lang.Object msg)
Log
logDebug
in interface Log
msg
- the message to logLog.logDebug(java.lang.Object)
public void logDebug(java.lang.Object msg, java.lang.Throwable thrown)
Log
logDebug
in interface Log
msg
- the message to logthrown
- the throwable to log (may be null)Log.logDebug(java.lang.Object,
java.lang.Throwable)
public void logError(java.lang.Object msg)
Log
logError
in interface Log
msg
- the message to logLog.logError(java.lang.Object)
public void logError(java.lang.Object msg, java.lang.Throwable thrown)
Log
logError
in interface Log
msg
- the message to logthrown
- the throwable to log (may be null)Log.logError(java.lang.Object,
java.lang.Throwable)
public void logFatal(java.lang.Object msg)
Log
logFatal
in interface Log
msg
- the message to logLog.logFatal(java.lang.Object)
public void logFatal(java.lang.Object msg, java.lang.Throwable thrown)
Log
logFatal
in interface Log
msg
- the message to logthrown
- the throwable to log (may be null)Log.logFatal(java.lang.Object,
java.lang.Throwable)
public void logInfo(java.lang.Object msg)
Log
logInfo
in interface Log
msg
- the message to logLog.logInfo(java.lang.Object)
public void logInfo(java.lang.Object msg, java.lang.Throwable thrown)
Log
logInfo
in interface Log
msg
- the message to logthrown
- the throwable to log (may be null)Log.logInfo(java.lang.Object,
java.lang.Throwable)
public void logTrace(java.lang.Object msg)
Log
logTrace
in interface Log
msg
- the message to logLog.logTrace(java.lang.Object)
public void logTrace(java.lang.Object msg, java.lang.Throwable thrown)
Log
logTrace
in interface Log
msg
- the message to logthrown
- the throwable to log (may be null)Log.logTrace(java.lang.Object,
java.lang.Throwable)
public void logWarn(java.lang.Object msg)
Log
logWarn
in interface Log
msg
- the message to logLog.logWarn(java.lang.Object)
public void logWarn(java.lang.Object msg, java.lang.Throwable thrown)
Log
logWarn
in interface Log
msg
- the message to logthrown
- the throwable to log (may be null)Log.logWarn(java.lang.Object,
java.lang.Throwable)
|
MySQL Connector/J size='-1'>5.0.8 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |