Package org.slf4j.impl
Class StaticLoggerBinder
- java.lang.Object
-
- org.slf4j.impl.StaticLoggerBinder
-
- All Implemented Interfaces:
LoggerFactoryBinder
@Deprecated(since="2021-07-04") public class StaticLoggerBinder extends Object implements LoggerFactoryBinder
Deprecated.Log implementation classes are not compatible with AEM as a Cloud Service.The binding ofLoggerFactoryclass with an actual instance ofILoggerFactoryis performed using information returned by this class.
-
-
Field Summary
Fields Modifier and Type Field Description static StringREQUESTED_API_VERSIONDeprecated.Declare the version of the SLF4J API this implementation is compiled against.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ILoggerFactorygetLoggerFactory()Deprecated.Return the instance ofILoggerFactorythatLoggerFactoryclass should bind to.StringgetLoggerFactoryClassStr()Deprecated.The String form of theILoggerFactoryobject that thisLoggerFactoryBinderinstance is intended to return.static StaticLoggerBindergetSingleton()Deprecated.
-
-
-
Field Detail
-
REQUESTED_API_VERSION
public static String REQUESTED_API_VERSION
Deprecated.Declare the version of the SLF4J API this implementation is compiled against. The value of this field is usually modified with each release.
-
-
Method Detail
-
getSingleton
public static StaticLoggerBinder getSingleton()
Deprecated.
-
getLoggerFactory
public ILoggerFactory getLoggerFactory()
Deprecated.Description copied from interface:LoggerFactoryBinderReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.- Specified by:
getLoggerFactoryin interfaceLoggerFactoryBinder- Returns:
- the instance of
ILoggerFactorythatLoggerFactoryclass should bind to.
-
getLoggerFactoryClassStr
public String getLoggerFactoryClassStr()
Deprecated.Description copied from interface:LoggerFactoryBinderThe 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.- Specified by:
getLoggerFactoryClassStrin interfaceLoggerFactoryBinder- Returns:
- the class name of the intended
ILoggerFactoryinstance
-
-