Class AWSLambdaServiceProvider
- java.lang.Object
-
- io.github.vitalijr2.aws.lambda.slf4j.AWSLambdaServiceProvider
-
- All Implemented Interfaces:
SLF4JServiceProvider
public class AWSLambdaServiceProvider extends Object implements SLF4JServiceProvider
Responsible for binding theAWSLambdaLoggerFactory
, theBasicMarkerFactory
and theBasicMDCAdapter
. This is used by the SLF4J API.- Since:
- 3.0.0
- Author:
- Vitalij Berdinskih
-
-
Field Summary
Fields Modifier and Type Field Description static String
REQUESTED_API_VERSION
Declare 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 ILoggerFactory
getLoggerFactory()
IMarkerFactory
getMarkerFactory()
MDCAdapter
getMDCAdapter()
String
getRequestedApiVersion()
void
initialize()
-
-
-
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:
getLoggerFactory
in interfaceSLF4JServiceProvider
-
getMarkerFactory
public IMarkerFactory getMarkerFactory()
- Specified by:
getMarkerFactory
in interfaceSLF4JServiceProvider
-
getMDCAdapter
public MDCAdapter getMDCAdapter()
- Specified by:
getMDCAdapter
in interfaceSLF4JServiceProvider
-
getRequestedApiVersion
public String getRequestedApiVersion()
- Specified by:
getRequestedApiVersion
in interfaceSLF4JServiceProvider
-
initialize
public void initialize()
- Specified by:
initialize
in interfaceSLF4JServiceProvider
-
-