com.protomatter.syslog
Class HTMLSyslogTextFormatter
java.lang.Object
|
+--com.protomatter.syslog.SimpleSyslogTextFormatter
|
+--com.protomatter.syslog.HTMLSyslogTextFormatter
- All Implemented Interfaces:
- SyslogTextFormatter
- public class HTMLSyslogTextFormatter
- extends SimpleSyslogTextFormatter
A log entry formatter that produces HTML.
- See Also:
XML configuration class
Methods inherited from class com.protomatter.syslog.SimpleSyslogTextFormatter |
formatDate, formatLoggerClassName, formatMessageDetail, getChannelWidth, getClassWidth, getDateFormat, getDateFormatCacheTime, getDateFormatTimezone, getHostname, getHostWidth, getNextException, getShowChannel, getShowHostName, getShowThreadName, getThreadWidth, justify, justify, resetDateFormat, setChannelWidth, setClassWidth, setDateFormat, setDateFormatCacheTime, setDateFormatTimezone, setHostWidth, setShowChannel, setShowHostName, setShowThreadName, setThreadWidth, trimFromLastPeriod, trimFromLastPeriod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLSyslogTextFormatter
public HTMLSyslogTextFormatter()
- Private constructor so nobody goes around creating these.
setStyleSheet
public void setStyleSheet(java.lang.String styleSheet)
- Set the stylesheet to use.
getStyleSheet
public java.lang.String getStyleSheet()
- Get the stylesheet being used.
getStringForLevel
protected char[] getStringForLevel(int level)
- Overrides:
getStringForLevel
in class SimpleSyslogTextFormatter
formatLogEntry
public void formatLogEntry(java.lang.StringBuffer b,
SyslogMessage message)
- Format a log entry.
- Overrides:
formatLogEntry
in class SimpleSyslogTextFormatter
getLogHeader
public java.lang.String getLogHeader()
- Get the log header. This simply returns an empty string.
- Overrides:
getLogHeader
in class SimpleSyslogTextFormatter
getLogFooter
public java.lang.String getLogFooter()
- Get the log footer. This simply returns an empty string.
- Overrides:
getLogFooter
in class SimpleSyslogTextFormatter