Class PatternLayout.PatternFormatterPatternSerializer
java.lang.Object
org.apache.logging.log4j.core.layout.PatternLayout.PatternFormatterPatternSerializer
- All Implemented Interfaces:
LocationAware
,AbstractStringLayout.Serializer
,AbstractStringLayout.Serializer2
,PatternLayout.PatternSerializer
- Enclosing class:
PatternLayout
private static final class PatternLayout.PatternFormatterPatternSerializer
extends Object
implements PatternLayout.PatternSerializer
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
PatternFormatterPatternSerializer
(PatternFormatter[] formatters) -
Method Summary
Modifier and TypeMethodDescriptionboolean
toSerializable
(LogEvent event) toSerializable
(LogEvent event, StringBuilder buffer) toString()
-
Field Details
-
formatters
-
-
Constructor Details
-
PatternFormatterPatternSerializer
-
-
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
-