FileDocCategorySizeDatePackage
SyslogQuietWriter.javaAPI DocApache log4j 1.2.151559Sat Aug 25 00:09:40 BST 2007org.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

Fields Summary
int
syslogFacility
int
level
Constructors Summary
public SyslogQuietWriter(Writer writer, int syslogFacility, ErrorHandler eh)

    super(writer, eh);
    this.syslogFacility = syslogFacility;
  
Methods Summary
public voidsetLevel(int level)

    this.level = level;
  
public voidsetSyslogFacility(int syslogFacility)

    this.syslogFacility = syslogFacility;
  
public voidwrite(java.lang.String string)

    super.write("<"+(syslogFacility | level)+">" + string);