|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log.format.PatternFormatter | +--org.apache.avalon.framework.logger.AvalonFormatter
This formatter extends PatternFormatter so that CascadingExceptions are formatted with all nested exceptions.
Inner classes inherited from class org.apache.log.format.PatternFormatter |
org.apache.log.format.PatternFormatter.PatternRun |
Fields inherited from class org.apache.log.format.PatternFormatter |
EOL, m_formatSpecification, SPACE_1, SPACE_16, SPACE_2, SPACE_4, SPACE_8, TYPE_CATEGORY, TYPE_CATEGORY_STR, TYPE_CONTEXT, TYPE_CONTEXT_STR, TYPE_MESSAGE, TYPE_MESSAGE_STR, TYPE_PRIORITY, TYPE_PRIORITY_STR, TYPE_RELATIVE_TIME, TYPE_RELATIVE_TIME_STR, TYPE_TEXT, TYPE_THROWABLE, TYPE_THROWABLE_STR, TYPE_TIME, TYPE_TIME_STR |
Constructor Summary | |
AvalonFormatter()
|
Method Summary | |
protected java.lang.String |
getStackTrace(java.lang.Throwable throwable,
java.lang.String format)
Utility method to format stack trace. |
protected java.lang.String |
getTime(long time,
java.lang.String format)
Utility method to format time. |
Methods inherited from class org.apache.log.format.PatternFormatter |
addPatternRun, addTextRun, append, appendWhiteSpace, fix, format, getCategory, getContext, getMessage, getPriority, getTypeIdFor, parse, setFormat |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AvalonFormatter()
Method Detail |
protected java.lang.String getStackTrace(java.lang.Throwable throwable, java.lang.String format)
getStackTrace
in class org.apache.log.format.PatternFormatter
throwable
- the throwable instanceformat
- ancilliary format parameter - allowed to be nullprotected java.lang.String getTime(long time, java.lang.String format)
getTime
in class org.apache.log.format.PatternFormatter
time
- the timeformat
- ancilliary format parameter - allowed to be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |