Class PatternMatch
java.lang.Object
org.apache.logging.log4j.core.layout.PatternMatch
@Plugin(name="PatternMatch",
category="Core",
printObject=true)
public final class PatternMatch
extends Object
PatternMatch configuration item.
- Since:
- 2.4.1 implements
Serializable
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
Returns the key.Returns the pattern.int
hashCode()
static PatternMatch.Builder
toString()
-
Constructor Details
-
PatternMatch
Constructs a key/value pair. The constructor should only be called from test classes.- Parameters:
key
- The key.pattern
- The value.
-
-
Method Details