Top Description Constructors Methods
com.mysql.cj.log

public Class LogFactory

extends Object
Class Inheritance
Imports
com.mysql.cj.exceptions.CJException, .ExceptionFactory, .WrongArgumentException, com.mysql.cj.util.Util

Creates instances of loggers for the driver to use.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Log

Returns:

a logger instance
getLogger
(String
the class to instantiate
className
,
String
the instance name
instanceName
)

Returns a logger instance of the given class, with the given instance name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LogFactoryback to summary
public LogFactory()

Method Detail

getLoggerback to summary
public static Log getLogger(String className, String instanceName)

Returns a logger instance of the given class, with the given instance name.

Parameters
className:String

the class to instantiate

instanceName:String

the instance name

Returns:Log

a logger instance