Documentation: examples/outputs need updating #1049
Labels
completed
This item is complete and has been merged/shipped
documentation
Improvements or additions to documentation
logger
This item relates to the Logger Utility
Description of the improvement
Summary of the proposal
With the newer features being released some of the CloudWatch excerpts for Logger in the docs have fallen out of sync either in terms of content/keys or lines highlighted.
How, where did you look for information
Logger documentation.
Missing or unclear documentation
Some of the examples in the Logger docs are out of sync with the library.
Improvement
Appending persistent additional log keys and values
example logs: add "aws_account_id" to highlighted text as this is also set in persistentLogAttributes
Appending additional data to a single log item
example log 2: update message
example log 3 highlight "extra" property instead of "xray_trace_id"
Logging errors
set log message as value passed to logger.error() and set error object message to Error message
Related existing documentation
See point above.
Related issues, RFCs
N/A
The text was updated successfully, but these errors were encountered: