|
Log4j 1.2.8 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
org.apache.log4j.helpers.SyslogWriter
SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
SyslogWriter(java.lang.String syslogHost)
|
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
void |
write(char[] buf,
int off,
int len)
|
void |
write(java.lang.String string)
|
Methods inherited from class java.io.Writer |
---|
write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SyslogWriter(java.lang.String syslogHost)
Method Detail |
public void write(char[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public void write(java.lang.String string) throws java.io.IOException
java.io.IOException
public void flush()
public void close()
|
Log4j 1.2.8 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |