MultistepFormatter
, StructuredFormatter
public 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, 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 © 2018. All rights reserved.