org.jboss.logging.layout
Class ThreadNDCConverter

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

public class ThreadNDCConverter
extends PatternConverter

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

See Also:
Serialized Form

Constructor Summary
ThreadNDCConverter(FormattingInfo formattingInfo)
          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

ThreadNDCConverter

public ThreadNDCConverter(FormattingInfo formattingInfo)
Creates a new instance of ThreadMDCPatternConverter

Method Detail

convert

protected java.lang.String convert(LoggingEvent loggingEvent)