org.slf4j.spi
Interface LoggerFactoryBinder


public interface LoggerFactoryBinder

An internal interface which helps the static LoggerFactory class bind with the appropriate ILoggerFactory instance.


Method Summary
 java.lang.String getLoggerFactoryClassStr()
          The String form of the ILoggerFactory object that this LoggerFactoryBinder instance is intended to return.
 ILoggerFactory getLoggerFactory()
          Return the instance of ILoggerFactory that LoggerFactory class should bind to.
 

Method Detail

getLoggerFactory

ILoggerFactory getLoggerFactory()
Return the instance of ILoggerFactory that LoggerFactory class should bind to.

Returns:
the instance of ILoggerFactory that LoggerFactory class should bind to.

getLoggerFactoryClassStr

java.lang.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