Package net.logstash.logback.mask
Class MaskingJsonGeneratorDecorator.PathMask
java.lang.Object
net.logstash.logback.mask.MaskingJsonGeneratorDecorator.PathMask
- Enclosing class:
- MaskingJsonGeneratorDecorator
Paths to mask, and the value to write as the mask.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PathMask
public PathMask() -
PathMask
-
PathMask
-
PathMask
-
PathMask
-
-
Method Details
-
addPath
- Parameters:
path
- the absolute or partial field path to mask (seePathBasedFieldMasker
for format)
-
addPaths
- Parameters:
paths
- a comma-separated string of absolute or partial field paths to mask (seePathBasedFieldMasker
for format)
-
setMask
- Parameters:
mask
- the value to write as a mask for any paths that match thepaths
.
-