org.slf4j.impl
Class StaticMarkerBinder
java.lang.Object
org.slf4j.impl.StaticMarkerBinder
- public class StaticMarkerBinder
- extends Object
Method Summary |
IMarkerFactory |
getMarkerFactory()
Return the instance of IMarkerFactory that
org.slf4j.MarkerFactory class should bind to. |
String |
getMarkerFactoryClassStr()
The String form of the IMarkerFactory object that this
MarkerFactoryBinder instance is intended to return. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLETON
public static final StaticMarkerBinder SINGLETON
- The unique instance of this class.
getMarkerFactory
public IMarkerFactory getMarkerFactory()
- Return the instance of
IMarkerFactory
that
org.slf4j.MarkerFactory
class should bind to.
- Returns:
- the instance of
IMarkerFactory
that
org.slf4j.MarkerFactory
class should bind to.
getMarkerFactoryClassStr
public String getMarkerFactoryClassStr()
- The String form of the
IMarkerFactory
object that this
MarkerFactoryBinder
instance is intended to return.
This method allows the developer to intterogate this binder's intention
which may be different from the IMarkerFactory
instance it is able to
return. Such a discrepency should only occur in case of errors.
- Returns:
- the class name of the intended
IMarkerFactory
instance