org.slf4j.impl
Class StaticLoggerBinder
java.lang.Object
org.slf4j.impl.StaticLoggerBinder
- public class StaticLoggerBinder
- extends Object
Method Summary |
ILoggerFactory |
getLoggerFactory()
Return the instance of ILoggerFactory that
org.slf4j.LoggerFactory class should bind to. |
String |
getLoggerFactoryClassStr()
The String form of the ILoggerFactory object that this
LoggerFactoryBinder 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 StaticLoggerBinder SINGLETON
- The unique instance of this class.
getLoggerFactory
public ILoggerFactory getLoggerFactory()
- Return the instance of
ILoggerFactory
that
org.slf4j.LoggerFactory
class should bind to.
- Returns:
- the instance of
ILoggerFactory
that
org.slf4j.LoggerFactory
class should bind to.
getLoggerFactoryClassStr
public String getLoggerFactoryClassStr()
- The String form of the
ILoggerFactory
object that this
LoggerFactoryBinder
instance is intended to return.
This method allows the developer to intterogate this binder's intention
which may be different from the ILoggerFactory
instance it is able to
yield in practice. The discrepency should only occur in case of errors.
- Returns:
- the class name of the intended
ILoggerFactory
instance