Class LoggerFactory

java.lang.Object
org.mybatis.logging.LoggerFactory

public class LoggerFactory extends Object
LoggerFactory is a wrapper around LogFactory to support Logger.
Author:
Putthiphong Boonphong
  • Method Details

    • getLogger

      public static Logger getLogger(Class<?> aClass)
      Gets the logger.
      Parameters:
      aClass - the a class
      Returns:
      the logger
    • getLogger

      public static Logger getLogger(String logger)
      Gets the logger.
      Parameters:
      logger - the logger
      Returns:
      the logger