public abstract class Handler
extends java.lang.Object
It may simply write messages to the standard output or a file, send it through a network, etc.
Constructor and Description |
---|
Handler() |
public abstract void close() throws java.lang.SecurityException
NOTE: this method is not called by the framework.
java.lang.SecurityException
- if a security manager exits and if the caller does not have the appropriate permissions.public abstract void flush()
NOTE: this method is not called by the framework.
public abstract void publish(LogRecord record)
record
- the LogRecord to publish.