File tree 1 file changed +4
-4
lines changed
packages/logger/src/formatter 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ class PowertoolLogFormatter extends LogFormatter {
6
6
7
7
public formatAttributes ( attributes : UnformattedAttributes ) : PowertoolLog {
8
8
return {
9
- aws_request_id : attributes . lambdaContext ?. awsRequestId ,
10
9
cold_start : attributes . lambdaContext ?. coldStart ,
11
- lambda_function_arn : attributes . lambdaContext ?. invokedFunctionArn ,
12
- lambda_function_memory_size : attributes . lambdaContext ?. memoryLimitInMB ,
13
- lambda_function_name : attributes . lambdaContext ?. functionName ,
10
+ function_arn : attributes . lambdaContext ?. invokedFunctionArn ,
11
+ function_memory_size : attributes . lambdaContext ?. memoryLimitInMB ,
12
+ function_request_id : attributes . lambdaContext ?. awsRequestId ,
13
+ function_name : attributes . lambdaContext ?. functionName ,
14
14
level : attributes . logLevel ,
15
15
message : attributes . message ,
16
16
sampling_rate : attributes . sampleRateValue ,
You can’t perform that action at this time.
0 commit comments