Claude Brisson created SLF4J-459:
------------------------------------
Summary: MDC to return previous values
Key: SLF4J-459
URL: https://jira.qos.ch/browse/SLF4J-459
Project: SLF4J
Issue Type: Improvement
Components: Core API
Affects Versions: 1.8.0-beta4
Environment: The put(key, value) method in MDC and MDCAdapter could
easily return the previously stored value, or null if not found, since this
value is returned by the underlying map.
Plus, the change is fully backward compatible.
This addition eases the implementation of stackable contexts by client
applications, without the need of an additional map lookup to fetch the current
MDC key value for latter restoration when the client context is popped up.
Reporter: Claude Brisson
Assignee: SLF4J developers list
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
slf4j-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-dev