Open richardtapendium opened 4 years ago
It would also be helpful if we were able to log strings, e.g. screenshot below (truncated)
When we view our logs in our logging service, instead of being able to see the string text directly, we now have to expand each object only to find a simple string that is decorated with a tonne of extra data, making it harder to find the exact log
Would be great to have an option to just log strings too.
@theburningmonk any opinion on this?
This is a Feature Proposal
Description
Would it be possible to have an option to make the logging lighter on the
lambda-powertools-logger
?Currently, every single call to
Log.method
logs outawsRegion
,functionName
etc. We would like to be able to log this data only on the first log of a function (usually the event data) and then turn it off for the rest. This would make it much easier to parse our logs.If this is something the team is open to, I'd be happy to make the PR.