Package ej.util.logging.handler
Class DefaultHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- ej.util.logging.handler.DefaultHandler
-
public class DefaultHandler extends Handler
This is the default handler for logging. It is associated with the RootLogger by default.
-
-
Constructor Summary
Constructors Constructor Description DefaultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the handler and the associated resources (such as streams, connections, files).voidflush()Flush any buffered output.voidpublish(LogRecord record)Publish a LogRecord.
-
-
-
Method Detail
-
close
public void close() throws SecurityExceptionDescription copied from class:HandlerClose the handler and the associated resources (such as streams, connections, files).NOTE: this method is not called by the framework.
- Specified by:
closein classHandler- Throws:
SecurityException- if a security manager exits and if the caller does not have the appropriate permissions.
-
flush
public void flush()
Description copied from class:HandlerFlush any buffered output.NOTE: this method is not called by the framework.
-
-