org.apache.log4j.helpers
Class SyslogWriter
java.lang.Object
java.io.Writer
org.apache.log4j.helpers.SyslogWriter
- public class SyslogWriter
- extends Writer
SyslogWriter is a wrapper around the java.net.DatagramSocket class
so that it behaves like a java.io.Writer.
- Since:
- 0.7.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyslogWriter
public SyslogWriter(String syslogHost)
write
public void write(char[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
write
public void write(String string)
throws IOException
- Throws:
IOException
flush
public void flush()
close
public void close()
Copyright 2000-2005 Apache Software Foundation.