Class HpelAdvancedFormatter
java.lang.Object
com.ibm.websphere.logging.hpel.reader.HpelFormatter
com.ibm.websphere.logging.hpel.reader.HpelPlainFormatter
com.ibm.websphere.logging.hpel.reader.HpelAdvancedFormatter
A HpelPlainFormatter subclass implementation that provides formatting of RepositoryLogRecord to a format
 referred to as "Advanced".
- 
Field SummaryFields inherited from class com.ibm.websphere.logging.hpel.reader.HpelFormatterFORMAT_ADVANCED, FORMAT_BASIC, FORMAT_CBE101, FORMAT_JSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionformatRecord(RepositoryLogRecord record, Locale locale) Formats a RepositoryLogRecord into a localized advanced format output String.Footers do not exist for the Advanced format, so return empty string.voidsetLineSeparator(String lineSeparator) Methods inherited from class com.ibm.websphere.logging.hpel.reader.HpelPlainFormattergetHeaderMethods 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
- 
Constructor Details- 
HpelAdvancedFormatterpublic HpelAdvancedFormatter()
 
- 
- 
Method Details- 
formatRecordFormats a RepositoryLogRecord into a localized advanced 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.
 
- 
setLineSeparator- Overrides:
- setLineSeparatorin class- HpelFormatter
 
 
-