1   package org.slf4j.helpers;
2   
3   import org.slf4j.spi.MDCAdapter;
4   
5   /**
6    * This adapter is an empty implementation of the {@link MDCAdapter} interface.
7    * It is used for all logging systems which do not support mapped
8    * diagnostic contexts such as JDK14, simple and NOP. 
9    * 
10   * @author Ceki Gülcü
11   * 
12   * @since 1.4.1
13   */
14  public class NOPMakerAdapter implements MDCAdapter {
15  
16    public void clear() {
17    }
18  
19    public String get(String key) {
20      return null;
21    }
22  
23    public void put(String key, String val) {
24    }
25  
26    public void remove(String key) {
27    }
28  
29  }