org.apache.log4j.helpers
public class SyslogWriter extends Writer
Since: 0.7.3
Constructor Summary | |
---|---|
SyslogWriter(String syslogHost)
Constructs a new instance of SyslogWriter. |
Method Summary | |
---|---|
void | close() |
void | flush() |
void | write(char[] buf, int off, int len) |
void | write(String string) |
Parameters: 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.