Feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT to the logging module #1444
Labels
feature-parity
Feature parity with python version
priority:3
Neutral - not a core feature or affects less than 40% of users
Summary
POWERTOOLS_LOGGER_LOG_EVENT
is a flag that exists in the examples, but is not supported by the library. The other libraries support it (e.g., python) so we should too. When we get a Lambda event, if this environment variable is set, we log the event itself. This can be done programatically at the moment.Why is this needed?
This could confuse engineers that would expect the
POWERTOOLS_LOGGER_LOG_EVENT
to control the behaviour of the logger somehow.Which area does this relate to?
Other
Solution
The
POWERTOOLS_LOGGER_LOG_EVENT
should be implemented.Acknowledgment
The text was updated successfully, but these errors were encountered: