站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

ThreadNDCConverter (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.logging.layout
Class ThreadNDCConverter

java.lang.Object
  extended byorg.apache.log4j.helpers.PatternConverter
      extended byorg.jboss.logging.layout.ThreadNDCConverter

public class ThreadNDCConverter
extends org.apache.log4j.helpers.PatternConverter

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

Version:
$Revision: 1.3 $
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.apache.log4j.helpers.PatternConverter
next
 
Constructor Summary
ThreadNDCConverter(org.apache.log4j.helpers.FormattingInfo formattingInfo)
          Creates a new instance of ThreadMDCPatternConverter
 
Method Summary
protected  String convert(org.apache.log4j.spi.LoggingEvent loggingEvent)
           
 
Methods inherited from class org.apache.log4j.helpers.PatternConverter
format, spacePad
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadNDCConverter

public ThreadNDCConverter(org.apache.log4j.helpers.FormattingInfo formattingInfo)
Creates a new instance of ThreadMDCPatternConverter

Method Detail

convert

protected String convert(org.apache.log4j.spi.LoggingEvent loggingEvent)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.