org.x4juli.global.spi
Interface ExtendedFormatter
- All Superinterfaces:
- Formatter
- All Known Implementing Classes:
- AbstractFormatter
- public interface ExtendedFormatter
- extends Formatter
This interface specifies the operations for Juli formatters.
- Since:
- 0.5
- Author:
- Boris Unckel
|
Method Summary |
java.lang.String |
format(ExtendedLogRecord record)
Formats a given ExtendedLogRecord. |
java.lang.String |
format(java.util.logging.LogRecord record)
|
java.lang.String |
formatMessage(java.util.logging.LogRecord record)
|
java.lang.String |
getHead(java.util.logging.Handler h)
|
java.lang.String |
getTail(java.util.logging.Handler h)
|
boolean |
ignoresThrowable()
|
format
public java.lang.String format(ExtendedLogRecord record)
- Formats a given ExtendedLogRecord.
- Parameters:
record - containing the information to generate and beautify Output
- Returns:
- the formatted String
- Since:
- 0.5
ignoresThrowable
public boolean ignoresThrowable()
- Returns:
- whether throwables are ignored or not
- Since:
- 0.5
format
public java.lang.String format(java.util.logging.LogRecord record)
- Since:
- 0.5
- See Also:
Formatter.format(java.util.logging.LogRecord)
getHead
public java.lang.String getHead(java.util.logging.Handler h)
- Since:
- 0.5
- See Also:
Formatter.getHead(java.util.logging.Handler)
getTail
public java.lang.String getTail(java.util.logging.Handler h)
- Since:
- 0.5
- See Also:
Formatter.getTail(java.util.logging.Handler)
formatMessage
public java.lang.String formatMessage(java.util.logging.LogRecord record)
- Since:
- 0.5
- See Also:
Formatter.formatMessage(java.util.logging.LogRecord)
${license_html}