try (MDC.MDCCloseable m = MDC.putCloseable("key", "value")) {
// MDC is set for this and cleared at end
}
On 23 February 2017 at 10:18, Frank Pedroza <[email protected]> wrote:
> I'm trying to understand how to use MDC.MDCCloseable. Can anyone provide
> an example or some documentation that demonstrates its use? Thanks.
>
>
> _______________________________________________
> slf4j-user mailing list
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/slf4j-user
>
--
Matt Sicker <[email protected]>
_______________________________________________
slf4j-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-user