|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.logging.hpel.reader.HpelFormatter
com.ibm.websphere.logging.hpel.reader.HpelCBEFormatter
public class HpelCBEFormatter
A HpelFormatter subclass implementation that provides formatting of RepositoryLogRecord to a CBE format.
Field Summary |
---|
Fields inherited from class com.ibm.websphere.logging.hpel.reader.HpelFormatter |
---|
FORMAT_ADVANCED, FORMAT_BASIC, FORMAT_CBE101 |
Constructor Summary | |
---|---|
HpelCBEFormatter()
Creates a HpelCBEFormatter instance |
Method Summary | |
---|---|
java.lang.String |
formatRecord(RepositoryLogRecord record,
java.util.Locale locale)
Formats a RepositoryLogRecord into a localized CBE format output String. |
java.lang.String |
getFooter()
Gets the formatter's footer. |
java.lang.String |
getFormattedRecord(RepositoryLogRecord record,
java.util.Locale locale)
Gets a String representation of a log record as a CBEEvent XML element |
java.lang.String[] |
getHeader()
Gets the formatter's header. |
Methods inherited from class com.ibm.websphere.logging.hpel.reader.HpelFormatter |
---|
addCustomLevel, addCustomLevel, convertParameters, formatMessage, formatRecord, formatRecord, getFormatter, getHeaderProps, getLineSeparator, getLocale, getTimeZoneID, setCustomHeader, setHeaderProps, setLineSeparator, setLocale, setTimeZoneID, translateMessage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HpelCBEFormatter()
Method Detail |
---|
public java.lang.String formatRecord(RepositoryLogRecord record, java.util.Locale locale)
formatRecord
in class HpelFormatter
record
- the RepositoryLogRecord to be formattedlocale
- the Locale to use for localization when formatting this record.
public java.lang.String getFooter()
HpelFormatter
getFooter
in class HpelFormatter
public java.lang.String[] getHeader()
HpelFormatter
getHeader
in class HpelFormatter
public java.lang.String getFormattedRecord(RepositoryLogRecord record, java.util.Locale locale)
record
- of the event.locale
- the locale to use when printing the output.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |