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
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
SyslogOutputStream
- Throws:
UnknownHostExceptionSocketException
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
getPort
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-