[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slf4j-dev
Subject:    [slf4j-dev] [JIRA] Updates for SLF4J-387: Implement putAll and putAllClosable
From:       "QOS.CH (JIRA)" <noreply-jira () qos ! ch>
Date:       2021-07-09 15:08:00
Message-ID: JIRA.14094.1483368704000.452.1625843280001 () Atlassian ! JIRA
[Download RAW message or body]

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
------------------------------

Daniel Raniz Raneland on 09/Jul/21 4:54 PM
No, that would not work since the goal is to do


 {{try (Closeable temp = MDC.putAllCloseable(myEntries)) {}}
{{     // Do stuff}}
{{ }}}

And that requires a single {{Closeable}} since try-with-resources doesn't work with a collection.


==============================
 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic