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