Closed
Description
Use case
For introspection code may want to see if an addition key has already been added to the logger before appending it since subsequent appends override the previous values.
Note -- it may be proper to add a similar property to the formatter classes.
Solution/User Experience
current_keys = logger.current_keys
Alternative solutions
Could "know" where the keys are stored in the formatter and directly access them -- that would be fragile.
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped