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, setHeaderProps, setLineSeparator, setLocale, setTimeZoneID, translateMessage
public java.lang.String formatRecord(RepositoryLogRecord record, java.util.Locale locale)
HpelFormatter
formatRecord
in class HpelFormatter
record
- the RepositoryLogRecord to be formattedlocale
- the locale to use when formatting this record.public java.lang.String getFooter()
HpelFormatter
getFooter
in class HpelFormatter
public java.lang.String[] getHeader()
HpelPlainFormatter
getHeader
in class HpelPlainFormatter
public void setStartDatetime(long datetime)
setStartDatetime
in class HpelFormatter