org.apache.log4j.helpers
Class SyslogQuietWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.log4j.helpers.QuietWriter
org.apache.log4j.helpers.SyslogQuietWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class SyslogQuietWriter
- extends QuietWriter
SyslogQuietWriter extends QuietWriter by prepending the syslog
level code before each printed String.
- Since:
- 0.7.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyslogQuietWriter
public SyslogQuietWriter(Writer writer,
int syslogFacility,
ErrorHandler eh)
setLevel
public void setLevel(int level)
setSyslogFacility
public void setSyslogFacility(int syslogFacility)
write
public void write(String string)
- Overrides:
write
in class QuietWriter
Copyright 2000-2005 Apache Software Foundation.