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 ContextSelectorStaticBinder |
contextSelectorBinder |
private LoggerContext |
defaultLoggerContext |
private boolean |
initialized |
private static java.lang.Object |
KEY |
(package private) static java.lang.String |
NULL_CS_URL |
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() |
(package private) void |
init()
Package access for testing purposes.
|
(package private) static void |
reset()
Package access for testing purposes.
|
public static java.lang.String REQUESTED_API_VERSION
static final java.lang.String NULL_CS_URL
private static StaticLoggerBinder SINGLETON
private static java.lang.Object KEY
private boolean initialized
private LoggerContext defaultLoggerContext
private final ContextSelectorStaticBinder contextSelectorBinder
public static StaticLoggerBinder getSingleton()
static void reset()
void init()
public org.slf4j.ILoggerFactory getLoggerFactory()
getLoggerFactory in interface org.slf4j.spi.LoggerFactoryBinderpublic java.lang.String getLoggerFactoryClassStr()
getLoggerFactoryClassStr in interface org.slf4j.spi.LoggerFactoryBinder