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

com.mysql.jdbc.log
Class LogFactory

java.lang.Object
  extended bycom.mysql.jdbc.log.LogFactory

public class LogFactory
extends java.lang.Object

Creates instances of loggers for the driver to use.

Version:
$Id: LogFactory.java 4946 2006-02-17 18:44:36Z mmatthews $
Author:
Mark Matthews

Constructor Summary
LogFactory()
           
 
Method Summary
static Log getLogger(java.lang.String className, java.lang.String instanceName)
          Returns a logger instance of the given class, with the given instance name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFactory

public LogFactory()
Method Detail

getLogger

public static Log getLogger(java.lang.String className,
                            java.lang.String instanceName)
                     throws java.sql.SQLException
Returns a logger instance of the given class, with the given instance name.

Parameters:
className - the class to instantiate
instanceName - the instance name
Returns:
a logger instance
Throws:
java.sql.SQLException - if unable to create a logger instance

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