Package org.jboss.logmanager
Class ExtFormatter.Delegating
java.lang.Object
java.util.logging.Formatter
org.jboss.logmanager.ExtFormatter
org.jboss.logmanager.ExtFormatter.Delegating
- Direct Known Subclasses:
TextBannerFormatter
- Enclosing class:
- ExtFormatter
A base class for formatters which wrap other formatters.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.logmanager.ExtFormatter
ExtFormatter.Delegating -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat(ExtLogRecord record) Format a message using an extended log record.formatMessage(LogRecord record) booleanDetermines whether or not this formatter will require caller, source level, information when a log record is formatted.Methods inherited from class org.jboss.logmanager.ExtFormatter
format, formatMessageLegacy, formatMessageNone, formatMessagePrintf, wrap
-
Field Details
-
delegate
The delegate formatter.
-
-
Constructor Details
-
Delegating
Construct a new instance.- Parameters:
delegate- the delegate formatter (must not benull)
-
-
Method Details
-
format
Description copied from class:ExtFormatterFormat a message using an extended log record.- Specified by:
formatin classExtFormatter- Parameters:
record- the log record- Returns:
- the formatted message
-
formatMessage
- Overrides:
formatMessagein classExtFormatter
-
isCallerCalculationRequired
public boolean isCallerCalculationRequired()Description copied from class:ExtFormatterDetermines whether or not this formatter will require caller, source level, information when a log record is formatted.- Overrides:
isCallerCalculationRequiredin classExtFormatter- Returns:
trueif the formatter will need caller information, otherwisefalse- See Also:
-
getHead
-
getTail
-