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.PatternSerializerprivate final RegexReplacement -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePatternSerializerWithReplacement(PatternLayout.PatternSerializer delegate, RegexReplacement replace) -
Method Summary
Modifier and TypeMethodDescriptionbooleantoSerializable(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:
toSerializablein interfaceAbstractStringLayout.Serializer
-
toSerializable
- Specified by:
toSerializablein interfaceAbstractStringLayout.Serializer- Specified by:
toSerializablein interfaceAbstractStringLayout.Serializer2
-
requiresLocation
public boolean requiresLocation()- Specified by:
requiresLocationin interfaceLocationAware
-
toString
-