Package org.slf4j.impl
Class StaticMarkerBinder
java.lang.Object
org.slf4j.impl.StaticMarkerBinder
- All Implemented Interfaces:
MarkerFactoryBinder
The binding of
MarkerFactory
class with an actual instance of
IMarkerFactory
is performed using information returned by this class.
This class is meant to provide a *dummy* StaticMarkerBinder to the slf4j-api module.
Real implementations are found in each SLF4J binding project, e.g. slf4j-nop,
slf4j-simple, slf4j-log4j12 etc.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StaticMarkerBinder
The unique instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCurrently 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.
-
-
Constructor Details
-
StaticMarkerBinder
private StaticMarkerBinder()
-
-
Method Details
-
getSingleton
Return the singleton of this class.- Returns:
- the StaticMarkerBinder singleton
- Since:
- 1.7.14
-
getMarkerFactory
Currently this method always returns an instance ofBasicMarkerFactory
.- Specified by:
getMarkerFactory
in interfaceMarkerFactoryBinder
- Returns:
- the instance of
IMarkerFactory
thatMarkerFactory
class should bind to.
-
getMarkerFactoryClassStr
Currently, this method returns the class name ofBasicMarkerFactory
.- Specified by:
getMarkerFactoryClassStr
in interfaceMarkerFactoryBinder
- Returns:
- the class name of the intended
IMarkerFactory
instance
-