Closed rhanneken closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.33%. Comparing base (
22549cf
) to head (38f212d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What do you think about splitting the logic into two different placeholders? One placeholder for the old logic (outputting the value for a key) and another new placeholder for outputting all thread context entries.
That's a good idea, and I've implemented your suggestion. Let me know what you think.
I found just two last minors.
I've addressed them in my latest commit. Let me know what you think.
Thank you for your quick commit. I'm happy to merge the PR :)
Description
The keys in a thread context can differ for different code paths. It would be good if one could log whatever keys and values exist in the thread context without specifying all possible keys in the logging configuration.
This change modifies the "context" placeholder so that it can be used without specifying a key. When no key is specified, all keys and their values are sent to the output.
Linked website pull request, if the documention of https://tinylog.org/v3/ has to be updated:
tinylog-org/website#196
Definition of Done
mvn verify
)Agreements