public class MultistepFormatter extends ExtFormatter
| Constructor and Description |
|---|
MultistepFormatter()
Construct a new instance.
|
MultistepFormatter(FormatStep[] steps)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
format(ExtLogRecord record)
Format a message using an extended log record.
|
FormatStep[] |
getSteps()
Get a copy of the format steps.
|
boolean |
isCallerCalculationRequired()
Determines whether or not this formatter will require caller, source level, information when a log record is
formatted.
|
void |
setSteps(FormatStep[] steps)
Assign new format steps.
|
formatformatMessage, getHead, getTailpublic MultistepFormatter(FormatStep[] steps)
steps - the steps to execute to format the recordpublic MultistepFormatter()
public FormatStep[] getSteps()
public void setSteps(FormatStep[] steps)
steps - the new format stepspublic String format(ExtLogRecord record)
format in class ExtFormatterrecord - the log recordpublic boolean isCallerCalculationRequired()
ExtFormatterisCallerCalculationRequired in class ExtFormattertrue if the formatter will need caller information, otherwise falseLogRecord.getSourceClassName(),
ExtLogRecord.getSourceFileName(),
ExtLogRecord.getSourceLineNumber(),
LogRecord.getSourceMethodName()Copyright © 2018 JBoss by Red Hat. All rights reserved.