Log4j Version 1.2.14: Class SyslogQuietWriter

Log4j 1.2

Log4j 1.2.14

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

public class SyslogQuietWriter
extends QuietWriter

SyslogQuietWriter extends QuietWriter by prepending the syslog level code before each printed String.

Since:
0.7.3

 
 
 
 
 void
 void
 void
 
 
 
 
 

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

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.