org.slf4j.impl
Class StaticLoggerBinder

java.lang.Object
  extended byorg.slf4j.impl.StaticLoggerBinder

public class StaticLoggerBinder
extends Object


Field Summary
static StaticLoggerBinder SINGLETON
          The unique instance of this class.
 
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
 

Field Detail

SINGLETON

public static final StaticLoggerBinder SINGLETON
The unique instance of this class.

Method Detail

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