SLF4J API
Version 1.4.3

org.slf4j.spi
Interface LoggerFactoryBinder


public interface LoggerFactoryBinder

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

Author:
Ceki Gülcü

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

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

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

SLF4J API
Version 1.4.3

Copyright © 2005-2008 QOS.ch. All Rights Reserved.