Class StaticLoggerBinder

java.lang.Object
org.slf4j.impl.StaticLoggerBinder
All Implemented Interfaces:
org.slf4j.spi.LoggerFactoryBinder

public final class StaticLoggerBinder extends Object implements org.slf4j.spi.LoggerFactoryBinder
Binds LoggerFactory class with an instance of ILoggerFactory.
  • Field Details

    • REQUESTED_API_VERSION

      public static String REQUESTED_API_VERSION
      Declare the version of the SLF4J API this implementation is compiled against.
  • Method Details

    • getSingleton

      public static StaticLoggerBinder getSingleton()
      Returns the singleton of this class.
      Returns:
      the singleton of this class
    • getLoggerFactory

      public org.slf4j.ILoggerFactory getLoggerFactory()
      Specified by:
      getLoggerFactory in interface org.slf4j.spi.LoggerFactoryBinder
    • getLoggerFactoryClassStr

      public String getLoggerFactoryClassStr()
      Specified by:
      getLoggerFactoryClassStr in interface org.slf4j.spi.LoggerFactoryBinder