public class JsonLogFormatter extends Object implements LogFormatter
| Constructor and Description |
|---|
JsonLogFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String message,
com.amazonaws.services.lambda.runtime.logging.LogLevel logLevel) |
void |
setLambdaContext(LambdaContext context)
Function to set the context for every invocation.
|
public String format(String message, com.amazonaws.services.lambda.runtime.logging.LogLevel logLevel)
format in interface LogFormatterpublic void setLambdaContext(LambdaContext context)
setLambdaContext in interface LogFormatterCopyright © 2023. All rights reserved.