public class LoggerMySql extends Object implements com.mysql.jdbc.log.Log
| Constructor and Description |
|---|
LoggerMySql(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
logDebug(Object msg) |
void |
logDebug(Object msg,
Throwable ex) |
void |
logError(Object msg) |
void |
logError(Object msg,
Throwable ex) |
void |
logFatal(Object msg) |
void |
logFatal(Object msg,
Throwable ex) |
void |
logInfo(Object msg) |
void |
logInfo(Object msg,
Throwable ex) |
void |
logTrace(Object msg) |
void |
logTrace(Object msg,
Throwable ex) |
void |
logWarn(Object msg) |
void |
logWarn(Object msg,
Throwable ex) |
public LoggerMySql(String name)
public boolean isDebugEnabled()
isDebugEnabled in interface com.mysql.jdbc.log.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface com.mysql.jdbc.log.Logpublic boolean isFatalEnabled()
isFatalEnabled in interface com.mysql.jdbc.log.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface com.mysql.jdbc.log.Logpublic boolean isTraceEnabled()
isTraceEnabled in interface com.mysql.jdbc.log.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface com.mysql.jdbc.log.Logpublic void logDebug(Object msg)
logDebug in interface com.mysql.jdbc.log.Logpublic void logDebug(Object msg, Throwable ex)
logDebug in interface com.mysql.jdbc.log.Logpublic void logError(Object msg)
logError in interface com.mysql.jdbc.log.Logpublic void logError(Object msg, Throwable ex)
logError in interface com.mysql.jdbc.log.Logpublic void logFatal(Object msg)
logFatal in interface com.mysql.jdbc.log.Logpublic void logFatal(Object msg, Throwable ex)
logFatal in interface com.mysql.jdbc.log.Logpublic void logInfo(Object msg)
logInfo in interface com.mysql.jdbc.log.Logpublic void logInfo(Object msg, Throwable ex)
logInfo in interface com.mysql.jdbc.log.Logpublic void logTrace(Object msg)
logTrace in interface com.mysql.jdbc.log.Logpublic void logTrace(Object msg, Throwable ex)
logTrace in interface com.mysql.jdbc.log.Logpublic void logWarn(Object msg)
logWarn in interface com.mysql.jdbc.log.LogCopyright © 2015–2019. All rights reserved.