public class HpelJsonFormatter extends HpelPlainFormatter
FORMAT_ADVANCED, FORMAT_BASIC, FORMAT_CBE101, FORMAT_JSON| Constructor and Description |
|---|
HpelJsonFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatRecord(RepositoryLogRecord record,
java.util.Locale locale)
Formats a RepositoryLogRecord using the locale specified.
|
java.lang.String |
getFooter()
Gets the formatter's footer.
|
java.lang.String[] |
getHeader()
Gets the file header information.
|
void |
setStartDatetime(long datetime) |
addCustomLevel, addCustomLevel, convertParameters, formatMessage, formatRecord, formatRecord, getFormatter, getHeaderProps, getLineSeparator, getLocale, getTimeZoneID, setCustomHeader, setDateFormat, setHeaderProps, setLineSeparator, setTimeZoneID, translateMessagepublic java.lang.String formatRecord(RepositoryLogRecord record, java.util.Locale locale)
HpelFormatterformatRecord in class HpelFormatterrecord - the RepositoryLogRecord to be formattedlocale - the locale to use when formatting this record.public java.lang.String getFooter()
HpelFormattergetFooter in class HpelFormatterpublic java.lang.String[] getHeader()
HpelPlainFormattergetHeader in class HpelPlainFormatterpublic void setStartDatetime(long datetime)
setStartDatetime in class HpelFormatter