Package org.slf4j.impl
Class StaticMarkerBinder
java.lang.Object
org.slf4j.impl.StaticMarkerBinder
- All Implemented Interfaces:
org.slf4j.spi.MarkerFactoryBinder
SLF4J MarkerFactoryBinder implementation using Log4j. This class is part of the required classes used to specify an
SLF4J logging provider implementation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.IMarkerFactory
static final StaticMarkerBinder
The unique instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.IMarkerFactory
static StaticMarkerBinder
Returns theSINGLETON
StaticMarkerBinder
.
-
Field Details
-
SINGLETON
The unique instance of this class. -
markerFactory
private final org.slf4j.IMarkerFactory markerFactory
-
-
Constructor Details
-
StaticMarkerBinder
public StaticMarkerBinder()
-
-
Method Details
-
getSingleton
Returns theSINGLETON
StaticMarkerBinder
. Added to slf4j-api 1.7.14 via https://github.com/qos-ch/slf4j/commit/ea3cca72cd5a9329a06b788317a17e806ee8acd0- Returns:
- the singleton instance
-
getMarkerFactory
public org.slf4j.IMarkerFactory getMarkerFactory()- Specified by:
getMarkerFactory
in interfaceorg.slf4j.spi.MarkerFactoryBinder
-
getMarkerFactoryClassStr
- Specified by:
getMarkerFactoryClassStr
in interfaceorg.slf4j.spi.MarkerFactoryBinder
-