|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Handler
com.caucho.log.SyslogHandler
public class SyslogHandler
Logs to the syslog stream
Constructor Summary | |
---|---|
SyslogHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyslogHandler()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |