public interface LoggerFactoryBinder
An internal interface which helps the static
LoggerFactory
class bind with the appropriate ILoggerFactory instance.- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.The String form of theILoggerFactoryobject that thisLoggerFactoryBinderinstance is intended to return.
-
Method Details
-
getLoggerFactory
ILoggerFactory getLoggerFactory()Return the instance ofILoggerFactorythatLoggerFactoryclass should bind to.- Returns:
- the instance of
ILoggerFactorythatLoggerFactoryclass should bind to.
-
getLoggerFactoryClassStr
String getLoggerFactoryClassStr()The String form of theILoggerFactoryobject that thisLoggerFactoryBinderinstance is intended to return.This method allows the developer to interrogate this binder's intention which may be different from the
ILoggerFactoryinstance it is able to yield in practice. The discrepancy should only occur in case of errors.- Returns:
- the class name of the intended
ILoggerFactoryinstance
-