Package org.slf4j.impl
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
The binding ofLoggerFactory
class with an actual instance ofILoggerFactory
is performed using information returned by this class.
-
-
Field Summary
Fields Modifier and Type Field Description static String
REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.ILoggerFactory
getLoggerFactory()
String
getLoggerFactoryClassStr()
static StaticLoggerBinder
getSingleton()
Return the singleton of this class.
-
-
-
Field Detail
-
REQUESTED_API_VERSION
public static String REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against. The value of this field is modified with each major release.
-
-
Method Detail
-
getSingleton
public static StaticLoggerBinder getSingleton()
Return the singleton of this class.- Returns:
- the StaticLoggerBinder singleton
-
getLoggerFactory
public org.slf4j.ILoggerFactory getLoggerFactory()
- Specified by:
getLoggerFactory
in interfaceorg.slf4j.spi.LoggerFactoryBinder
-
getLoggerFactoryClassStr
public String getLoggerFactoryClassStr()
- Specified by:
getLoggerFactoryClassStr
in interfaceorg.slf4j.spi.LoggerFactoryBinder
-
-