java.lang.Object
java.io.OutputStream
ch.qos.logback.core.net.SyslogOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
SyslogOutputStream is a wrapper around the
DatagramSocket
class so
that it behaves like an OutputStream
.-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
SyslogOutputStream
- Throws:
UnknownHostException
SocketException
-
-
Method Details
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
getPort
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-