public class SyslogWriter
extends java.io.Writer
| Constructor and Description |
|---|
SyslogWriter(java.lang.String syslogHost)
Constructs a new instance of SyslogWriter.
|
public SyslogWriter(java.lang.String syslogHost)
syslogHost - host name, may not be null. A port
may be specified by following the name or IPv4 literal address with
a colon and a decimal port number. To specify a port with an IPv6
address, enclose the IPv6 address in square brackets before appending
the colon and decimal port number.public void write(char[] buf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String string)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void flush()
flush in interface java.io.Flushableflush in class java.io.Writerpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.WriterCopyright © 2020 Confluent, Inc.. All Rights Reserved.