ch.qos.logback.classic.spi
Class LoggerContextRemoteView
java.lang.Object
ch.qos.logback.classic.spi.LoggerContextRemoteView
- All Implemented Interfaces:
- Serializable
public class LoggerContextRemoteView
- extends Object
- implements Serializable
LoggerContextRemoteView offers a restricted view of LoggerContext intended to
be exposed by LoggingEvent. This restricted view is optimised for
serialisation.
Some of the LoggerContext or Logger attributes should not survive
serialization, e.g appenders, level values etc, as these attributes may have
other values on the remote platform. LoggerContextRemoteView class exposes
the minimal (relevant) attributes to remote host, instead of having to deal
with an incomplete LoggerContext with many null references.
- Author:
- Ceki Gülcü, Sébastien Pennec
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerContextRemoteView
public LoggerContextRemoteView(LoggerContext lc)
getName
public String getName()
getPropertyMap
public Map<String,String> getPropertyMap()
Copyright © 2005-2008 QOS.ch. All Rights Reserved.