rgoers commented on PR #2593:
URL: https://github.com/apache/logging-log4j2/pull/2593#issuecomment-2127358496

   No - SLF4J's "fix" introduces a new class, MDCAmbit, that you would use 
instead of MDC.  As far as I can tell all it really does is add a close method. 
In contrast, ScopedContext doesn't need a close method since everything is 
automatically cleaned up when you exit the block. As Piotr pointed out it is 
similar to the difference between syncrhonized and lock. 


-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to