Skip to content

Commit 66bb82a

Browse files
committed
docs: added notice in docs
1 parent 5b7c848 commit 66bb82a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/core/logger.md

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ For a **complete list** of supported environment variables, refer to [this secti
4444

4545
#### Example using AWS Serverless Application Model (SAM)
4646

47+
The `Logger` utility is instantiated outside of the Lambda handler. In doing this, the same instance can be used across multiple invocations inside the same execution environment. This allows `Metrics` to be aware of things like whether or not a given invocation had a cold start or not.
48+
4749
=== "handler.ts"
4850

4951
```typescript hl_lines="1 4"

0 commit comments

Comments
 (0)