Package ch.qos.logback.core.net
Class SyslogOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- ch.qos.logback.core.net.SyslogOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
@Deprecated(since="2022-01-27") public class SyslogOutputStream extends java.io.OutputStream
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.SyslogOutputStream is a wrapper around theDatagramSocket
class so that it behaves like anOutputStream
.
-
-
Constructor Summary
Constructors Constructor Description SyslogOutputStream(java.lang.String syslogHost, int port)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.void
flush()
Deprecated.int
getPort()
Deprecated.void
write(byte[] byteArray, int offset, int len)
Deprecated.void
write(int b)
Deprecated.
-
-
-
Method Detail
-
write
public void write(byte[] byteArray, int offset, int len) throws java.io.IOException
Deprecated.- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
Deprecated.- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
close
public void close()
Deprecated.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.OutputStream
-
getPort
public int getPort()
Deprecated.
-
write
public void write(int b) throws java.io.IOException
Deprecated.- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
-