vy commented on issue #2996: URL: https://github.com/apache/logging-log4j2/issues/2996#issuecomment-2367690768
> Remember the Renderer I wanted to add for use in ScopedContext? @rgoers, yes, I do. Note that I wasn't against the `Renderer` concept, but introducing a new interface where existing ones (e.g., `StringBuilderFormattable`, `MultiFormatStringBuilderFormattable`) can perfectly suffice. See [my comment](/apache/logging-log4j2/pull/2385#discussion_r1531746011). > Here is another use for it. User is using SLF4J. You're suggesting him to 1. either completely switch to the Log4j API and use `ScopedContext`<sup>1</sup> 2. or combine SLF4J with Log4j API's `ScopedContext`<sup>1</sup> (hence, effectively use both logging APIs). @AlexxeyKa will be the judge of this. <sup>1</sup> `ScopedContext` will be released in the future as a separate module to enhance Log4j API with a scoped thread context pretty much identical to the one you would get with Java's `ScopedValue`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
