| org.mmbase.util.logging.log4j.MMPatternLayout org.mmbase.util.logging.log4j.StacktraceLoggingPatternLayout
StacktraceLoggingPatternLayout | public class StacktraceLoggingPatternLayout extends MMPatternLayout (Code) | | This layout can be used in logging in order to print out a stacktrace
for a given logging event. THis is a very expensive call, but can be
very useful when trying to find application bugs. Using this layout
you will see exactly which line of code (or which JSP) generated the
exception.
author: Johannes Verelst version: $Id: StacktraceLoggingPatternLayout.java,v 1.5 2008/02/03 17:33:58 nklasens Exp $ |
Method Summary | |
public String | format(LoggingEvent event) Overridden from PatternLayout; use the normal pattern to format
the logevent, but also return the current stacktrace. |
format | public String format(LoggingEvent event)(Code) | | Overridden from PatternLayout; use the normal pattern to format
the logevent, but also return the current stacktrace.
|
Methods inherited from org.mmbase.util.logging.log4j.MMPatternLayout | public PatternParser createPatternParser(String pattern)(Code)(Java Doc)
|
|
|