typo fixes and minor edits

This commit is contained in:
Ceki Gulcu 2021-07-01 23:26:31 +02:00
parent e74699276b
commit c233c86457
2 changed files with 10 additions and 1 deletions

View File

@ -227,6 +227,8 @@ public class MDC {
* then copying the map passed as parameter. The context map passed as
* parameter must only contain keys and values of type String.
*
* Null valued argument is allowed (since SLF4J version 2.0.0).
*
* @param contextMap
* must contain only keys and values of type String
* @since 1.5.1

View File

@ -92,7 +92,14 @@
<code>Set</code>. The spurious calls to
<code>MessageFormatter.format()</code> were removed fixing <a
href="https://jira.qos.ch/browse/SLF4J-421">SLF4J-421</a> and <a
href="https://jira.qos.ch/browse/SLF4J-287">SLF4J-287</a>.
href="https://jira.qos.ch/browse/SLF4J-287">SLF4J-287</a>.</p>
<p>The implementations of the
<code>MDCAdapter.setContextMap()</code> methods shipping with SLF4J
now cater for a null argument. This fixes <a
href="https://jira.qos.ch/browse/SLF4J-414">SLF4J-414</a>. Both
Alexei Orischenko and Kengo TODA kindly provided PRs for this
issue.</p>