Mapped Diagnostic Context
Have you ever thought about implementing Mapped Diagnostic Context? It's nice way to log information based on specifier %X{key}. There is map which translates this specified to given value, if given. https://logback.qos.ch/manual/mdc.html
Is it something like this - #353 ?
Yes, that's the same. I implemented this on my own, but not using shared_ptr to map. I used static thread_local field map in property_formatter to enable setting different propertied from different threads. And due to this solution, it works only using synchronous loggers.
See proposition for implementation in pull request #534
Can anyone please explain what is the state of this enhancement ? Also, will the enhancement is being planned for asynchronous loggers as well ?