public class SyslogHandler
extends java.util.logging.Handler
Constructor and Description |
---|
SyslogHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the handler.
|
void |
flush()
Flushes the buffer.
|
void |
publish(java.util.logging.LogRecord record)
Publishes the record.
|
void |
setFacility(java.lang.String facility)
Sets the facility.
|
void |
setSeverity(java.lang.String severity)
Sets the severity.
|
public void setFacility(java.lang.String facility) throws ConfigException
ConfigException
public void setSeverity(java.lang.String severity) throws ConfigException
ConfigException
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void close()
close
in class java.util.logging.Handler