Package 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
Modifier and TypeMethodDescriptionReturn the instance ofILoggerFactory
thatLoggerFactory
class should bind to.The String form of theILoggerFactory
object that thisLoggerFactoryBinder
instance is intended to return.
-
Method Details
-
getLoggerFactory
ILoggerFactory getLoggerFactory()Return the instance ofILoggerFactory
thatLoggerFactory
class should bind to.- Returns:
- the instance of
ILoggerFactory
thatLoggerFactory
class should bind to.
-
getLoggerFactoryClassStr
String getLoggerFactoryClassStr()The String form of theILoggerFactory
object that thisLoggerFactoryBinder
instance is intended to return.This method allows the developer to interrogate this binder's intention which may be different from the
ILoggerFactory
instance it is able to yield in practice. The discrepancy should only occur in case of errors.- Returns:
- the class name of the intended
ILoggerFactory
instance
-