|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Handler
com.cosylab.epics.caj.util.logging.ConsoleLogHandler
public class ConsoleLogHandler
Implementation of Java Logging API handler.
| Constructor Summary | |
|---|---|
ConsoleLogHandler()
Default constructor. |
|
ConsoleLogHandler(Formatter formatter)
Construct handler with using giver formatter. |
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
void |
publish(LogRecord record)
Prints the log record to the console using the current formatter, if the log record is loggable. |
| 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 ConsoleLogHandler()
public ConsoleLogHandler(Formatter formatter)
formatter - console log formatter, non-null.| Method Detail |
|---|
public void close()
throws SecurityException
close in class HandlerSecurityExceptionHandler.close()public void flush()
flush in class HandlerHandler.flush()public void publish(LogRecord record)
publish in class Handlerrecord - the log record to publishHandler.publish(java.util.logging.LogRecord)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||