Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 913 Bytes

2024-04-27-first-milestone-of-tinylog-2.8-is-out.md

File metadata and controls

14 lines (11 loc) · 913 Bytes
title date
First milestone of tinylog 2.8 is out
2024-04-27

With the first milestone of version 2.8.0, tinylog offers the possibility to output all stored thread context values collectively without having to know the keys.

The placeholder {context} has been extended for this purpose. Previously, the placeholder with the syntax {context: key} always expected a key and then output the associated stored value. Now the definition of a key is optional. If the key is omitted, the placeholder outputs now all current entries of the thread-based context as key-value pairs in alphabetical order.

The complete documentation for using the context placeholder and others placeholders can be found in the Format Pattern chapter. Many thanks to Russell Hanneken for further developing the context placeholder and writing the documentation!