Logback API
Version 0.9.8

ch.qos.logback.classic.spi
Class LoggerContextRemoteView

java.lang.Object
  extended by 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

Constructor Summary
LoggerContextRemoteView(LoggerContext lc)
           
 
Method Summary
 String getName()
           
 Map<String,String> getPropertyMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerContextRemoteView

public LoggerContextRemoteView(LoggerContext lc)
Method Detail

getName

public String getName()

getPropertyMap

public Map<String,String> getPropertyMap()

Logback API
Version 0.9.8

Copyright © 2005-2008 QOS.ch. All Rights Reserved.