Class LogFactoryImpl

  • All Implemented Interfaces:
    org.slf4j.ILoggerFactory

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

      Constructors 
      Constructor Description
      LogFactoryImpl()
      The constructor creates the root logger named "ROOT".
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.slf4j.Logger getLogger​(java.lang.String name)
      Return an appropriate Logger instance as specified by the name parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LogFactoryImpl

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

      • getLogger

        public org.slf4j.Logger getLogger​(java.lang.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:
        java.lang.NullPointerException - If name is null.