Package org.slf4j.impl
Class StaticLoggerBinder
- java.lang.Object
-
- org.slf4j.impl.StaticLoggerBinder
-
- All Implemented Interfaces:
LoggerFactoryBinder
public final class StaticLoggerBinder extends Object implements LoggerFactoryBinder
BindsLoggerFactory
class with an instance ofILoggerFactory
.
-
-
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 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.
-
-
Method Detail
-
getSingleton
public static StaticLoggerBinder getSingleton()
Return the singleton of this class.- Returns:
- the StaticLoggerBinder singleton
-
getLoggerFactory
public ILoggerFactory getLoggerFactory()
- Specified by:
getLoggerFactory
in interfaceLoggerFactoryBinder
-
getLoggerFactoryClassStr
public String getLoggerFactoryClassStr()
- Specified by:
getLoggerFactoryClassStr
in interfaceLoggerFactoryBinder
-
-