Package org.jboss.logmanager
Class ExtFormatter
java.lang.Object
java.util.logging.Formatter
org.jboss.logmanager.ExtFormatter
- Direct Known Subclasses:
MultistepFormatter
,StructuredFormatter
A formatter which handles
ExtLogRecord
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal String
abstract String
format
(ExtLogRecord extLogRecord) Format a message using an extended log record.boolean
Determines whether or not this formatter will require caller, source level, information when a log record is formatted.Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
ExtFormatter
public ExtFormatter()
-
-
Method Details
-
format
-
format
Format a message using an extended log record.- Parameters:
extLogRecord
- the log record- Returns:
- the formatted message
-
isCallerCalculationRequired
public boolean isCallerCalculationRequired()Determines whether or not this formatter will require caller, source level, information when a log record is formatted.- Returns:
true
if the formatter will need caller information, otherwisefalse
- See Also:
-