com.sun.idm.logging
Interface TextFormatter
- All Known Subinterfaces:
- AuditRecordFormatter
- All Known Implementing Classes:
- UlfFormatter, XmlFormatter
- public interface TextFormatter
A TextFormatter is used by a TextLogPublisher to convert log records into
text for publishing using a TextWriter.
Field Summary |
static java.lang.String |
code_id
|
Method Summary |
java.lang.String |
format(java.util.Map record)
Convert a log record to text. |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
format
public java.lang.String format(java.util.Map record)
- Convert a log record to text.
- Parameters:
record
- - the record to convert
- Returns:
- a String containing the text representation of the
record.