MySQL Connector/J size='-1'>5.0.8

com.mysql.jdbc.log
Interface Log

All Known Implementing Classes:
CommonsLogger, Jdk14Logger, Log4JLogger, NullLogger, StandardLogger

public interface Log

Unified interface to logging facilities on different platforms

Version:
$Id: Log.java 3726 2005-05-19 15:52:24Z mmatthews $
Author:
Mark Matthews

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

isDebugEnabled

boolean isDebugEnabled()
Is the 'debug' log level enabled?

Returns:
true if so.

isErrorEnabled

boolean isErrorEnabled()
Is the 'error' log level enabled?

Returns:
true if so.

isFatalEnabled

boolean isFatalEnabled()
Is the 'fatal' log level enabled?

Returns:
true if so.

isInfoEnabled

boolean isInfoEnabled()
Is the 'info' log level enabled?

Returns:
true if so.

isTraceEnabled

boolean isTraceEnabled()
Is the 'trace' log level enabled?

Returns:
true if so.

isWarnEnabled

boolean isWarnEnabled()
Is the 'warn' log level enabled?

Returns:
true if so.

logDebug

void logDebug(java.lang.Object msg)
Logs the given message instance using the 'debug' level

Parameters:
msg - the message to log

logDebug

void logDebug(java.lang.Object msg,
              java.lang.Throwable thrown)
Logs the given message and Throwable at the 'debug' level.

Parameters:
msg - the message to log
thrown - the throwable to log (may be null)

logError

void logError(java.lang.Object msg)
Logs the given message instance using the 'error' level

Parameters:
msg - the message to log

logError

void logError(java.lang.Object msg,
              java.lang.Throwable thrown)
Logs the given message and Throwable at the 'error' level.

Parameters:
msg - the message to log
thrown - the throwable to log (may be null)

logFatal

void logFatal(java.lang.Object msg)
Logs the given message instance using the 'fatal' level

Parameters:
msg - the message to log

logFatal

void logFatal(java.lang.Object msg,
              java.lang.Throwable thrown)
Logs the given message and Throwable at the 'fatal' level.

Parameters:
msg - the message to log
thrown - the throwable to log (may be null)

logInfo

void logInfo(java.lang.Object msg)
Logs the given message instance using the 'info' level

Parameters:
msg - the message to log

logInfo

void logInfo(java.lang.Object msg,
             java.lang.Throwable thrown)
Logs the given message and Throwable at the 'info' level.

Parameters:
msg - the message to log
thrown - the throwable to log (may be null)

logTrace

void logTrace(java.lang.Object msg)
Logs the given message instance using the 'trace' level

Parameters:
msg - the message to log

logTrace

void logTrace(java.lang.Object msg,
              java.lang.Throwable thrown)
Logs the given message and Throwable at the 'trace' level.

Parameters:
msg - the message to log
thrown - the throwable to log (may be null)

logWarn

void logWarn(java.lang.Object msg)
Logs the given message instance using the 'warn' level

Parameters:
msg - the message to log

logWarn

void logWarn(java.lang.Object msg,
             java.lang.Throwable thrown)
Logs the given message and Throwable at the 'warn' level.

Parameters:
msg - the message to log
thrown - the throwable to log (may be null)

MySQL Connector/J size='-1'>5.0.8