SLF4J / SLF4J-387 [In Progress]
Implement putAll and putAllClosable

==============================

Here's what changed in this issue in the last few minutes.

There is 1 comment.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-387

==============================
 1 comment
------------------------------

Piotr P. Karwasz on 28/Aug/22 9:04 AM
[~ceki],

Why not extend the {{MDCCloseable}} with a {{put(String key, String value)}} 
method? Then it would be possible to write:

{code:java}
try (Closeable temp = MDC.putCloseable("key1", "value1").put("key2", "value2")) 
{
    // Do stuff
}
{code}



==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)

_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to