程序包 com.mysql.cj.log

类 LogFactory


  • public class LogFactory
    extends Object
    Creates instances of loggers for the driver to use.
    • 构造器详细资料

      • LogFactory

        public LogFactory()
    • 方法详细资料

      • getLogger

        public static Log getLogger​(String className,
                                    String instanceName)
        Returns a logger instance of the given class, with the given instance name.
        参数:
        className - the class to instantiate
        instanceName - the instance name
        返回:
        a logger instance