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

    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–2017 QOS.ch. All rights reserved.