Syslog: White Paper FAQ Examples JavaDoc
Protomatter Classes v1.1.6

com.protomatter.syslog
Class WlSyslogTextFormatter

java.lang.Object
  |
  +--com.protomatter.syslog.SimpleSyslogTextFormatter
        |
        +--com.protomatter.syslog.WlSyslogTextFormatter
All Implemented Interfaces:
SyslogTextFormatter

public class WlSyslogTextFormatter
extends SimpleSyslogTextFormatter

A log formatter that mimics the log output from WebLogic. This class was contributed by Vik Ganora <vganora@yahoo.com>

See Also:
XML configuration class

Constructor Summary
WlSyslogTextFormatter()
           
 
Method Summary
 void formatLogEntry(java.lang.StringBuffer b, SyslogMessage message)
          Format the given log entry.
protected  char[] getStringForLevel(int level)
           
 
Methods inherited from class com.protomatter.syslog.SimpleSyslogTextFormatter
formatDate, formatLoggerClassName, formatMessageDetail, getChannelWidth, getClassWidth, getDateFormat, getDateFormatCacheTime, getDateFormatTimezone, getHostname, getHostWidth, getLogFooter, getLogHeader, 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
 

Constructor Detail

WlSyslogTextFormatter

public WlSyslogTextFormatter()
Method Detail

formatLogEntry

public void formatLogEntry(java.lang.StringBuffer b,
                           SyslogMessage message)
Description copied from class: SimpleSyslogTextFormatter
Format the given log entry.
Overrides:
formatLogEntry in class SimpleSyslogTextFormatter

getStringForLevel

protected char[] getStringForLevel(int level)
Overrides:
getStringForLevel in class SimpleSyslogTextFormatter

Protomatter Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6