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.OutputStreamDeprecated.This internal logback API is not supported by AEM as a Cloud Service.SyslogOutputStream is a wrapper around theDatagramSocketclass 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 voidclose()Deprecated.voidflush()Deprecated.intgetPort()Deprecated.voidwrite(byte[] byteArray, int offset, int len)Deprecated.voidwrite(int b)Deprecated.
-
-
-
Method Detail
-
write
public void write(byte[] byteArray, int offset, int len) throws java.io.IOExceptionDeprecated.- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOExceptionDeprecated.- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream- Throws:
java.io.IOException
-
close
public void close()
Deprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.OutputStream
-
getPort
public int getPort()
Deprecated.
-
write
public void write(int b) throws java.io.IOExceptionDeprecated.- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
-