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.Log
public boolean isErrorEnabled()
isErrorEnabled
in interface com.mysql.jdbc.log.Log
public boolean isFatalEnabled()
isFatalEnabled
in interface com.mysql.jdbc.log.Log
public boolean isInfoEnabled()
isInfoEnabled
in interface com.mysql.jdbc.log.Log
public boolean isTraceEnabled()
isTraceEnabled
in interface com.mysql.jdbc.log.Log
public boolean isWarnEnabled()
isWarnEnabled
in interface com.mysql.jdbc.log.Log
public void logDebug(Object msg)
logDebug
in interface com.mysql.jdbc.log.Log
public void logDebug(Object msg, Throwable ex)
logDebug
in interface com.mysql.jdbc.log.Log
public void logError(Object msg)
logError
in interface com.mysql.jdbc.log.Log
public void logError(Object msg, Throwable ex)
logError
in interface com.mysql.jdbc.log.Log
public void logFatal(Object msg)
logFatal
in interface com.mysql.jdbc.log.Log
public void logFatal(Object msg, Throwable ex)
logFatal
in interface com.mysql.jdbc.log.Log
public void logInfo(Object msg)
logInfo
in interface com.mysql.jdbc.log.Log
public void logInfo(Object msg, Throwable ex)
logInfo
in interface com.mysql.jdbc.log.Log
public void logTrace(Object msg)
logTrace
in interface com.mysql.jdbc.log.Log
public void logTrace(Object msg, Throwable ex)
logTrace
in interface com.mysql.jdbc.log.Log
public void logWarn(Object msg)
logWarn
in interface com.mysql.jdbc.log.Log
Copyright © 2015–2019. All rights reserved.