Package pl.tkowalcz.tjahzi.log4j2
Class Property
java.lang.Object
pl.tkowalcz.tjahzi.log4j2.Property
- Direct Known Subclasses:
Header
Class copied from org.apache.logging.log4j.core.config.Property. I have no idea how to reuse that class while assigning
it a custom tag name e.g. headers/labels.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Property
-
-
Method Details
-
getName
Returns the property name.- Returns:
- the property name.
-
getValue
Returns the property value.- Returns:
- the value of the property.
-
isValueNeedsLookup
public boolean isValueNeedsLookup()Returnstrueif the value contains a substitutable property that requires a lookup to be resolved.- Returns:
trueif the value containsinvalid @code
{@code "${"}, {@code false} otherwise
-
toString
-