public final class EventResolverStringSubstitutor extends Object implements TemplateResolverStringSubstitutor<LogEvent>
TemplateResolverStringSubstitutor
specialized for LogEvent
s.Constructor and Description |
---|
EventResolverStringSubstitutor(StrSubstitutor substitutor) |
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
getInternalSubstitutor() |
boolean |
isStable()
A substitutor is stable if the replacement doesn't vary with the provided
value.
|
String |
replace(LogEvent logEvent,
String source) |
public EventResolverStringSubstitutor(StrSubstitutor substitutor)
public StrSubstitutor getInternalSubstitutor()
getInternalSubstitutor
in interface TemplateResolverStringSubstitutor<LogEvent>
public boolean isStable()
TemplateResolverStringSubstitutor
null
.isStable
in interface TemplateResolverStringSubstitutor<LogEvent>
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.