Skip to content

@effect-aws/powertools-logger: Support for log annotations (appendKeys) #104

@dmeehan1968

Description

@dmeehan1968

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

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions