org.codehaus.wadi.impl
Class MySqlLog

java.lang.Object
  extended byorg.codehaus.wadi.impl.MySqlLog
All Implemented Interfaces:
com.mysql.jdbc.log.Log

public class MySqlLog
extends Object
implements com.mysql.jdbc.log.Log

MySql Logging -> Commons Logging bridge.

Author:
jules

Field Summary
protected  Log _log
           
 
Constructor Summary
MySqlLog(String name)
           
 
Method Summary
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isTraceEnabled()
           
 boolean isWarnEnabled()
           
 void logDebug(Object msg)
           
 void logDebug(Object msg, Throwable thrown)
           
 void logError(Object msg)
           
 void logError(Object msg, Throwable thrown)
           
 void logFatal(Object msg)
           
 void logFatal(Object msg, Throwable thrown)
           
 void logInfo(Object msg)
           
 void logInfo(Object msg, Throwable thrown)
           
 void logTrace(Object msg)
           
 void logTrace(Object msg, Throwable thrown)
           
 void logWarn(Object msg)
           
 void logWarn(Object msg, Throwable thrown)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected final Log _log
Constructor Detail

MySqlLog

public MySqlLog(String name)
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface com.mysql.jdbc.log.Log

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface com.mysql.jdbc.log.Log

isFatalEnabled

public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface com.mysql.jdbc.log.Log

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface com.mysql.jdbc.log.Log

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface com.mysql.jdbc.log.Log

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface com.mysql.jdbc.log.Log

logDebug

public void logDebug(Object msg)
Specified by:
logDebug in interface com.mysql.jdbc.log.Log

logDebug

public void logDebug(Object msg,
                     Throwable thrown)
Specified by:
logDebug in interface com.mysql.jdbc.log.Log

logError

public void logError(Object msg)
Specified by:
logError in interface com.mysql.jdbc.log.Log

logError

public void logError(Object msg,
                     Throwable thrown)
Specified by:
logError in interface com.mysql.jdbc.log.Log

logFatal

public void logFatal(Object msg)
Specified by:
logFatal in interface com.mysql.jdbc.log.Log

logFatal

public void logFatal(Object msg,
                     Throwable thrown)
Specified by:
logFatal in interface com.mysql.jdbc.log.Log

logInfo

public void logInfo(Object msg)
Specified by:
logInfo in interface com.mysql.jdbc.log.Log

logInfo

public void logInfo(Object msg,
                    Throwable thrown)
Specified by:
logInfo in interface com.mysql.jdbc.log.Log

logTrace

public void logTrace(Object msg)
Specified by:
logTrace in interface com.mysql.jdbc.log.Log

logTrace

public void logTrace(Object msg,
                     Throwable thrown)
Specified by:
logTrace in interface com.mysql.jdbc.log.Log

logWarn

public void logWarn(Object msg)
Specified by:
logWarn in interface com.mysql.jdbc.log.Log

logWarn

public void logWarn(Object msg,
                    Throwable thrown)
Specified by:
logWarn in interface com.mysql.jdbc.log.Log


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.