Package org.slf4j.impl
Class StaticMarkerBinder
- java.lang.Object
-
- org.slf4j.impl.StaticMarkerBinder
-
- All Implemented Interfaces:
org.slf4j.spi.MarkerFactoryBinder
public final class StaticMarkerBinder extends Object implements org.slf4j.spi.MarkerFactoryBinder
The binding ofMarkerFactoryclass with an actual instance ofIMarkerFactoryis performed using information returned by this class.
-
-
Field Summary
Fields Modifier and Type Field Description static StaticMarkerBinderSINGLETONThe unique instance of this class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.IMarkerFactorygetMarkerFactory()Currently this method always returns an instance ofBasicMarkerFactory.StringgetMarkerFactoryClassStr()Currently, this method returns the class name ofBasicMarkerFactory.static StaticMarkerBindergetSingleton()Return the singleton of this class.
-
-
-
Field Detail
-
SINGLETON
public static final StaticMarkerBinder SINGLETON
The unique instance of this class.
-
-
Method Detail
-
getSingleton
public static StaticMarkerBinder getSingleton()
Return the singleton of this class.- Returns:
- the StaticMarkerBinder singleton
- Since:
- 1.7.14
-
getMarkerFactory
public org.slf4j.IMarkerFactory getMarkerFactory()
Currently this method always returns an instance ofBasicMarkerFactory.- Specified by:
getMarkerFactoryin interfaceorg.slf4j.spi.MarkerFactoryBinder
-
getMarkerFactoryClassStr
public String getMarkerFactoryClassStr()
Currently, this method returns the class name ofBasicMarkerFactory.- Specified by:
getMarkerFactoryClassStrin interfaceorg.slf4j.spi.MarkerFactoryBinder
-
-