public class HpelBasicFormatter extends HpelPlainFormatter
FORMAT_ADVANCED, FORMAT_BASIC, FORMAT_CBE101
Constructor and Description |
---|
HpelBasicFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatRecord(RepositoryLogRecord record,
java.util.Locale locale)
Formats a RepositoryLogRecord into a localized basic format output String.
|
java.lang.String |
getFooter()
Footers do not exist for the Basic format, so return empty string.
|
void |
setLineSeparator(java.lang.String lineSeparator) |
getHeader
addCustomLevel, addCustomLevel, convertParameters, formatMessage, formatRecord, formatRecord, getFormatter, getHeaderProps, getLineSeparator, getLocale, getTimeZoneID, setCustomHeader, setHeaderProps, setLocale, setTimeZoneID, translateMessage
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()
getFooter
in class HpelFormatter
public void setLineSeparator(java.lang.String lineSeparator)
setLineSeparator
in class HpelFormatter