org.apache.log.format
public class ExtendedPatternFormatter extends PatternFormatter
Version: CVS $Revision: 1.11 $ $Date: 2003/02/09 23:33:22 $
| Constructor Summary | |
|---|---|
| ExtendedPatternFormatter(String format)
Creation of a new extended pattern formatter. | |
| ExtendedPatternFormatter(String format, int callStackOffset)
Creation of a new extended pattern formatter. | |
| Method Summary | |
|---|---|
| protected String | formatPatternRun(LogEvent event, PatternRun run)
Formats a single pattern run (can be extended in subclasses). |
| protected int | getTypeIdFor(String type)
Retrieve the type-id for a particular string.
|
Parameters: format the format string
Parameters: format the format string callStackOffset the offset
Parameters: event the log event run the pattern run to format.
Returns: the formatted result.
Parameters: type the string
Returns: the type-id