Package uk.bot_by.aws_lambda.slf4j
Class AWSLambdaServiceProvider
- java.lang.Object
-
- uk.bot_by.aws_lambda.slf4j.AWSLambdaServiceProvider
-
- All Implemented Interfaces:
SLF4JServiceProvider
public class AWSLambdaServiceProvider extends Object implements SLF4JServiceProvider
Responsible for binding theAWSLambdaLoggerFactory, theBasicMarkerFactoryand theBasicMDCAdapter. This is used by the SLF4J API.- Since:
- 3.0.0
- Author:
- Vitalij Berdinskih
-
-
Field Summary
Fields Modifier and Type Field Description static StringREQUESTED_API_VERSIONDeclare the version of the SLF4J API this implementation is compiled against.
-
Constructor Summary
Constructors Constructor Description AWSLambdaServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILoggerFactorygetLoggerFactory()IMarkerFactorygetMarkerFactory()MDCAdaptergetMDCAdapter()StringgetRequestedApiVersion()voidinitialize()
-
-
-
Field Detail
-
REQUESTED_API_VERSION
public static String REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against. The value of this field is modified with each major release.
-
-
Method Detail
-
getLoggerFactory
public ILoggerFactory getLoggerFactory()
- Specified by:
getLoggerFactoryin interfaceSLF4JServiceProvider
-
getMarkerFactory
public IMarkerFactory getMarkerFactory()
- Specified by:
getMarkerFactoryin interfaceSLF4JServiceProvider
-
getMDCAdapter
public MDCAdapter getMDCAdapter()
- Specified by:
getMDCAdapterin interfaceSLF4JServiceProvider
-
getRequestedApiVersion
public String getRequestedApiVersion()
- Specified by:
getRequestedApiVersionin interfaceSLF4JServiceProvider
-
initialize
public void initialize()
- Specified by:
initializein interfaceSLF4JServiceProvider
-
-