PatternFormatter
public class MultistepFormatter extends ExtFormatter
Constructor | Description |
---|---|
MultistepFormatter() |
Construct a new instance.
|
MultistepFormatter(FormatStep[] steps) |
Construct a new instance.
|
Modifier and Type | Method | 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 © 2019 JBoss by Red Hat. All rights reserved.