Package ch.qos.logback.classic.spi
Class LoggerContextVO
- java.lang.Object
-
- ch.qos.logback.classic.spi.LoggerContextVO
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated(since="2022-01-27") public class LoggerContextVO extends java.lang.Object implements java.io.Serializable
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.LoggerContextVO offers a restricted view of LoggerContext intended to be exposed by LoggingEvent to remote systems. This restricted view is optimized for serialization.Some of the LoggerContext or Logger attributes MUST not survive serialization, e.g appenders, level values etc, as these attributes may have other values on the remote platform. LoggerContextVO class exposes the minimal and relevant attributes to the remote host, instead of having to deal with an incomplete LoggerContext with many null references.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggerContextVO(LoggerContext lc)
Deprecated.LoggerContextVO(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> propertyMap, long birthTime)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.long
getBirthTime()
Deprecated.java.lang.String
getName()
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getPropertyMap()
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
LoggerContextVO
public LoggerContextVO(LoggerContext lc)
Deprecated.
-
LoggerContextVO
public LoggerContextVO(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> propertyMap, long birthTime)
Deprecated.
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.
-
getPropertyMap
public java.util.Map<java.lang.String,java.lang.String> getPropertyMap()
Deprecated.
-
getBirthTime
public long getBirthTime()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-