public class StaticLoggerBinder extends java.lang.Object implements LoggerFactoryBinder
LoggerFactory
class with an actual instance of
ILoggerFactory
is performed using information returned by this class.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled
against.
|
Modifier and Type | Method and Description |
---|---|
ILoggerFactory |
getLoggerFactory()
Return the instance of
ILoggerFactory that
LoggerFactory class should bind to. |
java.lang.String |
getLoggerFactoryClassStr()
The String form of the
ILoggerFactory object that this
LoggerFactoryBinder instance is intended to return. |
static StaticLoggerBinder |
getSingleton() |
public static java.lang.String REQUESTED_API_VERSION
public static StaticLoggerBinder getSingleton()
public ILoggerFactory getLoggerFactory()
LoggerFactoryBinder
ILoggerFactory
that
LoggerFactory
class should bind to.getLoggerFactory
in interface LoggerFactoryBinder
ILoggerFactory
that
LoggerFactory
class should bind to.public java.lang.String getLoggerFactoryClassStr()
LoggerFactoryBinder
ILoggerFactory
object that this
LoggerFactoryBinder
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.
getLoggerFactoryClassStr
in interface LoggerFactoryBinder
ILoggerFactory
instanceCopyright © 2010 - 2020 Adobe. All Rights Reserved