Class StaticLoggerBinder

  • All Implemented Interfaces:
    org.slf4j.spi.LoggerFactoryBinder

    public class StaticLoggerBinder
    extends java.lang.Object
    implements org.slf4j.spi.LoggerFactoryBinder
    The binding of LoggerFactory class with an actual instance of ILoggerFactory is performed using information returned by this class.
    • Field Detail

      • REQUESTED_API_VERSION

        public static java.lang.String REQUESTED_API_VERSION
        Declare the version of the SLF4J API this implementation is compiled against. The value of this field is usually modified with each release.
      • SINGLETON

        private static StaticLoggerBinder SINGLETON
        The unique instance of this class.
      • KEY

        private static java.lang.Object KEY
      • initialized

        private boolean initialized
      • defaultLoggerContext

        private LoggerContext defaultLoggerContext
    • Constructor Detail

      • StaticLoggerBinder

        private StaticLoggerBinder()
    • Method Detail

      • reset

        static void reset()
        Package access for testing purposes.
      • init

        void init()
        Package access for testing purposes.
      • getLoggerFactory

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

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