org.x4juli.global.spi
Interface Formatter

All Known Subinterfaces:
ExtendedFormatter
All Known Implementing Classes:
AbstractFormatter

interface Formatter

This Interface specifies the operations of java.util.logging.Formatter and allow Juli to use this without extending the original java.util.logging.Formatter. For proper functionality Juli uses the extended version of this. It just has package visibilty to avoid outside world using it.

Since:
0.5
Author:
Boris Unckel
See Also:
ExtendedFormatter

Method Summary
 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)
           
 

Method Detail

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}