01: package org.slf4j.helpers;
02:
03: import org.slf4j.spi.MDCAdapter;
04:
05: /**
06: * This adapter is an empty implementation of the {@link MDCAdapter} interface.
07: * It is used for all logging systems which do not support mapped
08: * diagnostic contexts such as JDK14, simple and NOP.
09: *
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: }
|