at.spardat.xma.boot.logger
Interface ILogHandler

All Known Implementing Classes:
DefaultHandler, LogHandlerBase, LogHandlerDefault, LogHandlerFile

public interface ILogHandler

ILogHandler


Method Summary
 void close()
           
 void publish(LogRecord record)
          Publish a LogRecord.
 void setProperties(java.util.Properties in)
           
 

Method Detail

publish

public void publish(LogRecord record)
Publish a LogRecord.

The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.

The Handler is responsible for formatting the message, when and if necessary. The formatting should include localization.

Parameters:
record - description of the log event

close

public void close()

setProperties

public void setProperties(java.util.Properties in)