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.
|
void |
setSteps(FormatStep[] steps)
Assign new format steps.
|
format
formatMessage, getHead, getTail
public 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 ExtFormatter
record
- the log recordCopyright © 2018 JBoss by Red Hat. All rights reserved.