public class StaticLoggerBinder
extends java.lang.Object
implements org.slf4j.spi.LoggerFactoryBinder
LoggerFactory
class with an actual instance of
ILoggerFactory
is performed using information returned by this class.Modifier and Type | Field and Description |
---|---|
private org.slf4j.ILoggerFactory |
loggerFactory
The ILoggerFactory instance returned by the
getLoggerFactory()
method should always be the same object |
private static java.lang.String |
loggerFactoryClassStr |
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() |
Modifier and Type | Method and Description |
---|---|
org.slf4j.ILoggerFactory |
getLoggerFactory() |
java.lang.String |
getLoggerFactoryClassStr() |
static StaticLoggerBinder |
getSingleton()
Return the singleton of this class.
|
private static final StaticLoggerBinder SINGLETON
public static java.lang.String REQUESTED_API_VERSION
private static final java.lang.String loggerFactoryClassStr
private final org.slf4j.ILoggerFactory loggerFactory
getLoggerFactory()
method should always be the same objectpublic static final 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