相关文章推荐
酒量大的板栗  ·  log4j ...·  1 周前    · 
@Deprecated(since="2022-01-27")
public interface ILoggingEvent
extends DeferredProcessingAware
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
The central interface in logback-classic. In a nutshell, logback-classic is nothing more than a processing chain built around this interface.
Since:
0.9.16
java.lang.StackTraceElement[] getCallerData()
Deprecated.
Return caller data associated with this event. Note that calling this event may trigger the computation of caller data.
Returns:
the caller data associated with this event.
See Also:
hasCallerData()
boolean hasCallerData()
Deprecated.
If this event has caller data, then true is returned. Otherwise the returned value is null.

Logback components wishing to use caller data if available without causing it to be computed can invoke this method before invoking getCallerData() .

Returns:
whether this event has caller data

getMDCPropertyMap

java.util.Map<java.lang.String,​java.lang.String> getMDCPropertyMap()
Deprecated.
Returns the MDC map. The returned value can be an empty map but not null.
java.util.Map<java.lang.String,​java.lang.String> getMdc()
Deprecated.
Replaced by [@link #getMDCPropertyMap}
Synonym for [@link #getMDCPropertyMap}.