junit.log4j
Class JUnitPatternParser.StacktracePatternConverter

java.lang.Object
  |
  +--org.apache.log4j.helpers.PatternConverter
        |
        +--junit.log4j.JUnitPatternParser.StacktracePatternConverter
Enclosing class:
JUnitPatternParser

public static class JUnitPatternParser.StacktracePatternConverter
extends org.apache.log4j.helpers.PatternConverter

Converter writing the stack trace of the throwable.


Fields inherited from class org.apache.log4j.helpers.PatternConverter
next
 
Constructor Summary
JUnitPatternParser.StacktracePatternConverter(org.apache.log4j.helpers.FormattingInfo formattingInfo)
          Creates a new StacktracePatternConverter instance.
 
Method Summary
 java.lang.String convert(org.apache.log4j.spi.LoggingEvent event)
          writing the stack trace of the throwable contained in event.
 
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

JUnitPatternParser.StacktracePatternConverter

public JUnitPatternParser.StacktracePatternConverter(org.apache.log4j.helpers.FormattingInfo formattingInfo)
Creates a new StacktracePatternConverter instance.
Parameters:
formattingInfo - a FormattingInfo value
Method Detail

convert

public java.lang.String convert(org.apache.log4j.spi.LoggingEvent event)
writing the stack trace of the throwable contained in event.
Overrides:
convert in class org.apache.log4j.helpers.PatternConverter
Parameters:
event - a LoggingEvent value
Returns:
null, if the event is null or its throwable. Otherwise, a string representation of the stack trace is returned.


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.