public class StaticMarkerBinder extends Object implements org.slf4j.spi.MarkerFactoryBinder
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-log4j12 etc.| Modifier and Type | Field and Description |
|---|---|
static StaticMarkerBinder |
SINGLETON
The unique instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
org.slf4j.IMarkerFactory |
getMarkerFactory()
Currently this method always returns an instance of
BasicMarkerFactory. |
String |
getMarkerFactoryClassStr()
Currently, this method returns the class name of
BasicMarkerFactory. |
static StaticMarkerBinder |
getSingleton()
Return the singleton of this class.
|
public static final StaticMarkerBinder SINGLETON
public static StaticMarkerBinder getSingleton()
public org.slf4j.IMarkerFactory getMarkerFactory()
BasicMarkerFactory.getMarkerFactory in interface org.slf4j.spi.MarkerFactoryBinderpublic String getMarkerFactoryClassStr()
BasicMarkerFactory.getMarkerFactoryClassStr in interface org.slf4j.spi.MarkerFactoryBinderCopyright © 2006–2022 OPS4J - Open Participation Software for Java. All rights reserved.