org.slf4j.helpers
Class Log4JMDCAdapter

java.lang.Object
  extended by org.slf4j.helpers.Log4JMDCAdapter
All Implemented Interfaces:
org.slf4j.spi.MDCAdapter

public class Log4JMDCAdapter
extends Object
implements org.slf4j.spi.MDCAdapter


Constructor Summary
Log4JMDCAdapter()
           
 
Method Summary
 void clear()
           
 String get(String key)
           
 Map getCopyOfContextMap()
           
 void put(String key, String val)
           
 void remove(String key)
           
 void setContextMap(Map map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JMDCAdapter

public Log4JMDCAdapter()
Method Detail

put

public void put(String key,
                String val)
Specified by:
put in interface org.slf4j.spi.MDCAdapter

get

public String get(String key)
Specified by:
get in interface org.slf4j.spi.MDCAdapter

remove

public void remove(String key)
Specified by:
remove in interface org.slf4j.spi.MDCAdapter

clear

public void clear()
Specified by:
clear in interface org.slf4j.spi.MDCAdapter

getCopyOfContextMap

public Map getCopyOfContextMap()
Specified by:
getCopyOfContextMap in interface org.slf4j.spi.MDCAdapter

setContextMap

public void setContextMap(Map map)
Specified by:
setContextMap in interface org.slf4j.spi.MDCAdapter


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.