public final class StaticLoggerBinder
extends java.lang.Object
implements org.slf4j.spi.LoggerFactoryBinder
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
LOGGER_FACTORY_CLASS_STR |
private org.slf4j.ILoggerFactory |
loggerFactory
The ILoggerFactory instance returned by the
getLoggerFactory()
method should always be the same object |
static java.lang.String |
REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled
against.
|
private static StaticLoggerBinder |
SINGLETON
The unique instance of this class.
|
Modifier | Constructor and Description |
---|---|
private |
StaticLoggerBinder()
Private constructor to prevent instantiation
|
Modifier and Type | Method and Description |
---|---|
org.slf4j.ILoggerFactory |
getLoggerFactory()
Returns the factory.
|
java.lang.String |
getLoggerFactoryClassStr()
Returns the class name.
|
static StaticLoggerBinder |
getSingleton()
Returns the singleton of this class.
|
public static java.lang.String REQUESTED_API_VERSION
private static final java.lang.String LOGGER_FACTORY_CLASS_STR
private static final StaticLoggerBinder SINGLETON
private final org.slf4j.ILoggerFactory loggerFactory
getLoggerFactory()
method should always be the same objectprivate StaticLoggerBinder()
public static StaticLoggerBinder getSingleton()
public org.slf4j.ILoggerFactory getLoggerFactory()
getLoggerFactory
in interface org.slf4j.spi.LoggerFactoryBinder
public java.lang.String getLoggerFactoryClassStr()
getLoggerFactoryClassStr
in interface org.slf4j.spi.LoggerFactoryBinder