Class LogFactory

java.lang.Object
com.mysql.cj.log.LogFactory

public class LogFactory
extends java.lang.Object
Creates instances of loggers for the driver to use.
  • Constructor Summary

    Constructors 
    Constructor Description
    LogFactory()  
  • Method Summary

    Modifier and Type Method Description
    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 Details

  • Method Details

    • getLogger

      public static Log getLogger​(java.lang.String className, java.lang.String instanceName)
      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