Package org.slf4j.impl
Class StaticMarkerBinder
java.lang.Object
org.slf4j.impl.StaticMarkerBinder
- All Implemented Interfaces:
org.slf4j.spi.MarkerFactoryBinder
The binding of
MarkerFactory
class with an actual instance of
IMarkerFactory
is performed using information returned by this class.- Author:
- Ceki Gülcü
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StaticMarkerBinder
The unique instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.IMarkerFactory
Currently this method always returns an instance ofBasicMarkerFactory
.Currently, this method returns the class name ofBasicMarkerFactory
.static StaticMarkerBinder
Return the singleton of this class.
-
Field Details
-
SINGLETON
The unique instance of this class.
-
-
Method Details
-
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:
getMarkerFactory
in interfaceorg.slf4j.spi.MarkerFactoryBinder
-
getMarkerFactoryClassStr
Currently, this method returns the class name ofBasicMarkerFactory
.- Specified by:
getMarkerFactoryClassStr
in interfaceorg.slf4j.spi.MarkerFactoryBinder
-