-
Notifications
You must be signed in to change notification settings - Fork 168
Closed as not planned
Closed as not planned
Copy link
Labels
duplicateThis issue is a duplicate of an existing oneThis issue is a duplicate of an existing onefeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityloggerThis item relates to the Logger UtilityThis item relates to the Logger Utility
Description
Use case
As far as I can tell, calling new Logger()
instantiates a new logger, which means we can't access previously appended keys across the code.
Solution/User Experience
It would be great if a new instance that uses the same service name - env var or explicit parameter - would reuse a previous Logger instance, as it's the case for the Python Powertools
Alternative solutions
No response
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
duplicateThis issue is a duplicate of an existing oneThis issue is a duplicate of an existing onefeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityloggerThis item relates to the Logger UtilityThis item relates to the Logger Utility