当前页面: 
在线文档首页 > 
JBoss 3.2.7 common API Documentation 英文版文档
ThreadMDCConverter (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档
org.jboss.logging.layout
Class ThreadMDCConverter
java.lang.Object
   org.apache.log4j.helpers.PatternConverter
org.apache.log4j.helpers.PatternConverter
       org.jboss.logging.layout.ThreadMDCConverter
org.jboss.logging.layout.ThreadMDCConverter
- public class ThreadMDCConverter- extends org.apache.log4j.helpers.PatternConverter
A PatternConverter that uses the current thread MDC rather than the
 LoggingEvent MDC value.
- Version:
- $Revision: 1.1.4.1 $
- Author:
- Scott.Stark@jboss.org
 
| Fields inherited from class org.apache.log4j.helpers.PatternConverter | 
| next | 
 
| Constructor Summary | 
| ThreadMDCConverter(org.apache.log4j.helpers.FormattingInfo formattingInfo,
                   String key)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 | 
 
ThreadMDCConverter
public ThreadMDCConverter(org.apache.log4j.helpers.FormattingInfo formattingInfo,
                          String key)
- Creates a new instance of ThreadMDCPatternConverter
 
convert
protected String convert(org.apache.log4j.spi.LoggingEvent loggingEvent)
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.