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 LogFormatter
public void setLambdaContext(LambdaContext context)
setLambdaContext
in interface LogFormatter
Copyright © 2024. All rights reserved.