at.spardat.xma.boot.logger
Class LogHandlerDefault

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

public class LogHandlerDefault
extends LogHandlerBase
implements ILogHandler

LogHandlerDefault


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

Constructor Detail

LogHandlerDefault

protected LogHandlerDefault()
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