Class LogFactoryImpl

java.lang.Object
com.iizix.log.slf4j.LogFactoryImpl
All Implemented Interfaces:
org.slf4j.ILoggerFactory

public final class LogFactoryImpl extends Object implements org.slf4j.ILoggerFactory
The Logger factory of IIZI for SLF4J.
Author:
Christopher Mindus
  • Constructor Details

    • LogFactoryImpl

      public LogFactoryImpl()
      The constructor creates the root logger named "ROOT".
  • Method Details

    • getLogger

      public org.slf4j.Logger getLogger(String name)
      Return an appropriate Logger instance as specified by the name parameter.

      If the name parameter is equal to Logger.ROOT_LOGGER_NAME, that is the string value "ROOT" (case insensitive), then the root logger of the underlying logging system is returned.

      Null-valued name arguments are considered invalid.

      Specified by:
      getLogger in interface org.slf4j.ILoggerFactory
      Parameters:
      name - The name of the Logger to return.
      Returns:
      a Logger instance.
      Throws:
      NullPointerException - If name is null.