|
||||||||||
| 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.HmtpHandler
public class HmtpHandler
Sends formatted messages to HMTP target
| Constructor Summary | |
|---|---|
HmtpHandler()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the handler. |
void |
flush()
Flushes the buffer. |
void |
init()
Initialize the handler |
void |
publish(java.util.logging.LogRecord record)
Publishes the record. |
void |
setTo(java.lang.String to)
Sets the destination |
java.lang.String |
toString()
|
| 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, wait, wait, wait |
| Constructor Detail |
|---|
public HmtpHandler()
| Method Detail |
|---|
public void setTo(java.lang.String to)
@PostConstruct
public void init()
throws ConfigException
ConfigExceptionpublic void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.Handlerpublic void flush()
flush in class java.util.logging.Handlerpublic void close()
close in class java.util.logging.Handlerpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||