| org.jzonic.jlo.handler.Handler
All known Subclasses: org.jzonic.jlo.handler.AbstractHandler,
Handler | public interface Handler (Code) | | This is the interface for the Handler . It defines
all methods that must be implemented by all handlers.
author: Andreas Mecky author: Terry Dye version: 1.0 |
Method Summary | |
public void | publish(String msg) This method takes a log-message as String
and processes this message. | public void | publish(LogRecord lr) This method takes a LogRecord and then
processes the request. | public void | setParameter(Map parameters) |
publish | public void publish(String msg)(Code) | | This method takes a log-message as String
and processes this message. This method is called when
a Formatter is defined for a Generator .
Parameters: msg - The log-message |
publish | public void publish(LogRecord lr)(Code) | | This method takes a LogRecord and then
processes the request. It is called when no Formatter
it defined inside the Generator . The specific handler
is responsible for formatting the message itself.
Parameters: lr - The LogRecord that contains all informationsfor the logging-request |
setParameter | public void setParameter(Map parameters)(Code) | | This method takes a Hashtable with
parameters that are defined for a handler
Parameters: parameters - all parameters that are defined inside the generator block |
|
|