org.jboss.logging.layout
Class ThreadMDCConverter

java.lang.Object
  extended byPatternConverter
      extended byorg.jboss.logging.layout.ThreadMDCConverter

public class ThreadMDCConverter
extends PatternConverter

A PatternConverter that uses the current thread MDC rather than the LoggingEvent MDC value.

See Also:
Serialized Form

Constructor Summary
ThreadMDCConverter(FormattingInfo formattingInfo, java.lang.String key)
          Creates a new instance of ThreadMDCPatternConverter
 
Method Summary
protected  java.lang.String convert(LoggingEvent loggingEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadMDCConverter

public ThreadMDCConverter(FormattingInfo formattingInfo,
                          java.lang.String key)
Creates a new instance of ThreadMDCPatternConverter

Method Detail

convert

protected java.lang.String convert(LoggingEvent loggingEvent)