Class HpelBasicFormatter
- java.lang.Object
- 
- com.ibm.websphere.logging.hpel.reader.HpelFormatter
- 
- com.ibm.websphere.logging.hpel.reader.HpelPlainFormatter
- 
- com.ibm.websphere.logging.hpel.reader.HpelBasicFormatter
 
 
 
- 
 public class HpelBasicFormatter extends HpelPlainFormatter A HpelPlainFormatter subclass implementation that provides formatting of RepositoryLogRecord to a format referred to as "Basic".
- 
- 
Field Summary- 
Fields inherited from class com.ibm.websphere.logging.hpel.reader.HpelFormatterFORMAT_ADVANCED, FORMAT_BASIC, FORMAT_CBE101, FORMAT_JSON
 
- 
 - 
Constructor SummaryConstructors Constructor Description HpelBasicFormatter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringformatRecord(RepositoryLogRecord record, java.util.Locale locale)Formats a RepositoryLogRecord into a localized basic format output String.java.lang.StringgetFooter()Footers do not exist for the Basic format, so return empty string.voidsetLineSeparator(java.lang.String lineSeparator)- 
Methods inherited from class com.ibm.websphere.logging.hpel.reader.HpelPlainFormattergetHeader
 - 
Methods inherited from class com.ibm.websphere.logging.hpel.reader.HpelFormatteraddCustomLevel, addCustomLevel, convertParameters, formatMessage, formatRecord, formatRecord, getFormatter, getHeaderProps, getLineSeparator, getLocale, getTimeZoneID, setCustomHeader, setDateFormat, setHeaderProps, setStartDatetime, setTimeZoneID, translateMessage
 
- 
 
- 
- 
- 
Method Detail- 
formatRecordpublic java.lang.String formatRecord(RepositoryLogRecord record, java.util.Locale locale) Formats a RepositoryLogRecord into a localized basic format output String.- Specified by:
- formatRecordin class- HpelFormatter
- Parameters:
- record- the RepositoryLogRecord to be formatted
- locale- the Locale to use for localization when formatting this record.
- Returns:
- the formated string output.
 
 - 
getFooterpublic java.lang.String getFooter() Footers do not exist for the Basic format, so return empty string.- Specified by:
- getFooterin class- HpelFormatter
- Returns:
- the footer as a string
 
 - 
setLineSeparatorpublic void setLineSeparator(java.lang.String lineSeparator) - Overrides:
- setLineSeparatorin class- HpelFormatter
 
 
- 
 
-