at.spardat.xma.boot.logger
Class DefaultHandler

java.lang.Object
  extended byat.spardat.xma.boot.logger.LogHandlerBase
      extended byat.spardat.xma.boot.logger.DefaultHandler
All Implemented Interfaces:
ILogHandler

public class DefaultHandler
extends LogHandlerBase
implements ILogHandler

DefaultHandler


Field Summary
 
Fields inherited from class at.spardat.xma.boot.logger.LogHandlerBase
args, format, formatter, props, separator
 
Constructor Summary
protected DefaultHandler()
           
 
Method Summary
 void close()
           
 void publish(LogRecord record)
          Publish a LogRecord.
 void setProperties(java.util.Properties in)
           
 
Methods inherited from class at.spardat.xma.boot.logger.LogHandlerBase
format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHandler

protected DefaultHandler()
Method Detail

publish

public void publish(LogRecord record)
Description copied from interface: ILogHandler
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.

Specified by:
publish in interface ILogHandler
Overrides:
publish in class LogHandlerBase

close

public void close()
Specified by:
close in interface ILogHandler
Overrides:
close in class LogHandlerBase

setProperties

public void setProperties(java.util.Properties in)
Specified by:
setProperties in interface ILogHandler
Overrides:
setProperties in class LogHandlerBase