Docs: Custom log formatter example does not show source for MyCompanyLogFormatter.ts
#1256
Closed
1 task done
Labels
documentation
Improvements or additions to documentation
duplicate
This issue is a duplicate of an existing one
What were you searching in the docs?
I was reading the docs from top to bottom and came across this since some might want to write string logs instead of using structured logging.
Is this related to an existing documentation section?
https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/logger/#custom-log-formatter-bring-your-own-formatter
How can we improve?
Got a suggestion in mind?
Change the
utils/formatters/MyCompanyLogFormatter.ts
code block to show an implementation of theLogFormatterInterface
as expected; as written the documentation does little more than tell you that custom formatters can be used but not how to make them.Acknowledgment
The text was updated successfully, but these errors were encountered: