Class JSONLoggerOutput
- java.lang.Object
-
- uk.bot_by.aws_lambda.slf4j.json_output.JSONLoggerOutput
-
- All Implemented Interfaces:
AWSLambdaLoggerOutput
public class JSONLoggerOutput extends Object implements AWSLambdaLoggerOutput
An SLF4J Logger implementation for AWS Lambda with JSON output.
-
-
Constructor Summary
Constructors Constructor Description JSONLoggerOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlog(@NotNull AWSLambdaLoggerConfiguration configuration, @Nullable Marker marker, @NotNull Level level, @NotNull String message, @Nullable Throwable throwable)Write a message to the AWS lambda log in JSON.
-
-
-
Method Detail
-
log
public void log(@NotNull @NotNull AWSLambdaLoggerConfiguration configuration, @Nullable @Nullable Marker marker, @NotNull @NotNull Level level, @NotNull @NotNull String message, @Nullable @Nullable Throwable throwable)Write a message to the AWS lambda log in JSON.- Specified by:
login interfaceAWSLambdaLoggerOutput- Parameters:
configuration- logging configurationmarker- logging markerlevel- logging levelmessage- logging messagethrowable- exception
-
-