Class PatternLayout.PatternSerializerWithReplacement
java.lang.Object
org.apache.logging.log4j.core.layout.PatternLayout.PatternSerializerWithReplacement
- All Implemented Interfaces:
LocationAware
,AbstractStringLayout.Serializer
,AbstractStringLayout.Serializer2
- Enclosing class:
PatternLayout
private static final class PatternLayout.PatternSerializerWithReplacement
extends Object
implements AbstractStringLayout.Serializer, LocationAware
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PatternLayout.PatternSerializer
private final RegexReplacement
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
PatternSerializerWithReplacement
(PatternLayout.PatternSerializer delegate, RegexReplacement replace) -
Method Summary
Modifier and TypeMethodDescriptionboolean
toSerializable
(LogEvent event) toSerializable
(LogEvent event, StringBuilder buf) toString()
-
Field Details
-
delegate
-
replace
-
-
Constructor Details
-
PatternSerializerWithReplacement
private PatternSerializerWithReplacement(PatternLayout.PatternSerializer delegate, RegexReplacement replace)
-
-
Method Details
-
toSerializable
- Specified by:
toSerializable
in interfaceAbstractStringLayout.Serializer
-
toSerializable
- Specified by:
toSerializable
in interfaceAbstractStringLayout.Serializer
- Specified by:
toSerializable
in interfaceAbstractStringLayout.Serializer2
-
requiresLocation
public boolean requiresLocation()- Specified by:
requiresLocation
in interfaceLocationAware
-
toString
-