Package org.slf4j.impl
Class StaticMarkerBinder
- java.lang.Object
-
- org.slf4j.impl.StaticMarkerBinder
-
- All Implemented Interfaces:
org.slf4j.spi.MarkerFactoryBinder
public class StaticMarkerBinder extends Object implements 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
Fields Modifier and Type Field Description static StaticMarkerBinder
SINGLETON
The unique instance of this class.
-
Constructor Summary
Constructors Constructor Description StaticMarkerBinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.IMarkerFactory
getMarkerFactory()
String
getMarkerFactoryClassStr()
static StaticMarkerBinder
getSingleton()
Returns theSINGLETON
StaticMarkerBinder
.
-
-
-
Field Detail
-
SINGLETON
public static final StaticMarkerBinder SINGLETON
The unique instance of this class.
-
-
Method Detail
-
getSingleton
public static StaticMarkerBinder 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
public String getMarkerFactoryClassStr()
- Specified by:
getMarkerFactoryClassStr
in interfaceorg.slf4j.spi.MarkerFactoryBinder
-
-