MultistepFormatter, StructuredFormatterpublic abstract class ExtFormatter
extends java.util.logging.Formatter
ExtLogRecord instances.| Constructor | Description |
|---|---|
ExtFormatter() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
format(java.util.logging.LogRecord record) |
|
abstract java.lang.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.
|
public final java.lang.String format(java.util.logging.LogRecord record)
format in class java.util.logging.Formatterpublic abstract java.lang.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 © 2018. All rights reserved.