Package org.slf4j.impl
Class StaticLoggerBinder
- java.lang.Object
-
- org.slf4j.impl.StaticLoggerBinder
-
public class StaticLoggerBinder extends Object
The binding ofLoggerFactoryclass with an actual instance ofILoggerFactoryis performed using information returned by this class. This class is meant to provide a dummy StaticLoggerBinder to the slf4j-api module. Real implementations are found in each SLF4J binding project, e.g. slf4j-nop, slf4j-log4j12 etc.- Author:
- Ceki Gülcü
-
-
Field Summary
Fields Modifier and Type Field Description static StringREQUESTED_API_VERSIONDeclare 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 ILoggerFactorygetLoggerFactory()StringgetLoggerFactoryClassStr()static StaticLoggerBindergetSingleton()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 final StaticLoggerBinder getSingleton()
Return the singleton of this class.- Returns:
- the StaticLoggerBinder singleton
-
getLoggerFactory
public ILoggerFactory getLoggerFactory()
-
getLoggerFactoryClassStr
public String getLoggerFactoryClassStr()
-
-