MDC.MDCCloseable (SLF4J 1.7.28 API)
Date: 2019-08-10

org.slf4j

## Class MDC.MDCCloseable

- java.lang.Object
- - org.slf4j.MDC.MDCCloseable

- All Implemented Interfaces:
    Closeable, AutoCloseable
  Enclosing class:
    MDC

      public static class MDC.MDCCloseable
      extends Object
      implements Closeable

  An adapter to remove the key when done.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### close

          public void close()

      Specified by:
        `close` in interface `Closeable`
      Specified by:
        `close` in interface `AutoCloseable`

Copyright © 2005–2019 QOS.ch. All rights reserved.