at.spardat.xma.boot.logger
Class LogHandlerBase
java.lang.Object
at.spardat.xma.boot.logger.LogHandlerBase
- All Implemented Interfaces:
- ILogHandler
- Direct Known Subclasses:
- DefaultHandler, LogHandlerDefault, LogHandlerFile
- public abstract class LogHandlerBase
- extends java.lang.Object
- implements ILogHandler
LogHandlerDefault
|
Field Summary |
protected java.lang.Object[] |
args
|
protected java.lang.String |
format
|
protected java.text.MessageFormat |
formatter
|
protected java.util.Properties |
props
|
protected java.lang.String |
separator
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formatter
protected java.text.MessageFormat formatter
args
protected java.lang.Object[] args
format
protected java.lang.String format
separator
protected java.lang.String separator
props
protected java.util.Properties props
LogHandlerBase
protected LogHandlerBase()
setProperties
public void setProperties(java.util.Properties in)
- Specified by:
setProperties in interface ILogHandler
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
- Parameters:
record - description of the log event
close
public void close()
- Specified by:
close in interface ILogHandler
format
protected java.lang.String format(LogRecord record)