-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
powertools-loggerPowertool logger packagePowertool logger package
Description
Any plans to add support for log annotations? As far as I can tell, any annotations are not added to the Powertools output. Looking at the source there appears to be a FiberRef for extra keys, but not any way to set them (if this is meant to be used for this purpose).
What I like to do is add metadata to the running process that is only output in the event of any log output. This way if I set the log level to ERROR for the lambda, I won't see output unless there is an error, in which case it can, for example, capture the incoming event.
It might be nice to support temporary and persistent keys, although I've never found a need for the latter.
Metadata
Metadata
Assignees
Labels
powertools-loggerPowertool logger packagePowertool logger package