Skip to content

Commit 14e7eb4

Browse files
committed
fix lint
1 parent a0e58d6 commit 14e7eb4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/logger/src/types/formats/PowertoolLog.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,90 +8,90 @@ type PowertoolLog = LogAttributes & {
88
* Description: Timestamp of actual log statement.
99
* Example: "2020-05-24 18:17:33,774"
1010
*/
11-
timestamp?: string
11+
timestamp?: string;
1212

1313
/**
1414
* level
1515
*
1616
* Description: Logging level
1717
* Example: "INFO"
1818
*/
19-
level?: LogLevel
19+
level?: LogLevel;
2020

2121
/**
2222
* service
2323
*
2424
* Description: Service name defined.
2525
* Example: "payment"
2626
*/
27-
service: string
27+
service: string;
2828

2929
/**
3030
* sampling_rate
3131
*
3232
* Description: The value of the logging sampling rate in percentage.
3333
* Example: 0.1
3434
*/
35-
sampling_rate?: number
35+
sampling_rate?: number;
3636

3737
/**
3838
* message
3939
*
4040
* Description: Log statement value. Unserializable JSON values will be casted to string.
4141
* Example: "Collecting payment"
4242
*/
43-
message?: string
43+
message?: string;
4444

4545
/**
4646
* xray_trace_id
4747
*
4848
* Description: X-Ray Trace ID when Lambda function has enabled Tracing.
4949
* Example: "1-5759e988-bd862e3fe1be46a994272793"
5050
*/
51-
xray_trace_id?: string
51+
xray_trace_id?: string;
5252

5353
/**
5454
* cold_start
5555
*
5656
* Description: Indicates whether the current execution experienced a cold start.
5757
* Example: false
5858
*/
59-
cold_start?: boolean
59+
cold_start?: boolean;
6060

6161
/**
6262
* lambda_function_name
6363
*
6464
* Description: The name of the Lambda function.
6565
* Example: "example-powertools-HelloWorldFunction-1P1Z6B39FLU73"
6666
*/
67-
lambda_function_name?: string
67+
lambda_function_name?: string;
6868

6969
/**
7070
* lambda_function_memory_size
7171
*
7272
* Description: The memory size of the Lambda function.
7373
* Example: 128
7474
*/
75-
lambda_function_memory_size?: number
75+
lambda_function_memory_size?: number;
7676

7777
/**
7878
* lambda_function_arn
7979
*
8080
* Description: The ARN of the Lambda function.
8181
* Example: "arn:aws:lambda:eu-west-1:012345678910:function:example-powertools-HelloWorldFunction-1P1Z6B39FLU73"
8282
*/
83-
lambda_function_arn?: string
83+
lambda_function_arn?: string;
8484

8585
/**
8686
* lambda_request_id
8787
*
8888
* Description: The request ID of the current invocation.
8989
* Example: "899856cb-83d1-40d7-8611-9e78f15f32f4"
9090
*/
91-
lambda_request_id?: string
91+
lambda_request_id?: string;
9292

9393
};
9494

9595
export {
96-
PowertoolLog
96+
PowertoolLog,
9797
};

0 commit comments

Comments
 (0)