public class DefaultHandler extends Handler
Constructor and Description |
---|
DefaultHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the handler and the associated resources (such as streams, connections, files).
|
void |
flush()
Flush any buffered output.
|
void |
publish(LogRecord record)
Publish a LogRecord.
|
public void close() throws SecurityException
Handler
NOTE: this method is not called by the framework.
close
in class Handler
SecurityException
- if a security manager exits and if the caller does not have the appropriate permissions.public void flush()
Handler
NOTE: this method is not called by the framework.