MultistepFormatter, StructuredFormatterpublic abstract class ExtFormatter extends Formatter
ExtLogRecord instances.| Constructor | Description |
|---|---|
ExtFormatter() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
format(LogRecord record) |
|
abstract String |
format(ExtLogRecord extLogRecord) |
Format a message using an extended log record.
|
boolean |
isCallerCalculationRequired() |
Determines whether or not this formatter will require caller, source level, information when a log record is
formatted.
|
formatMessage, getHead, getTailpublic abstract String format(ExtLogRecord extLogRecord)
extLogRecord - the log recordpublic boolean isCallerCalculationRequired()
true if the formatter will need caller information, otherwise falseLogRecord.getSourceClassName(),
ExtLogRecord.getSourceFileName(),
ExtLogRecord.getSourceLineNumber(),
LogRecord.getSourceMethodName()Copyright © 2019 JBoss by Red Hat. All rights reserved.