Module logstash.logback.encoder
Package net.logstash.logback.mask
Class MaskingJsonGeneratorDecorator.ValueMask
java.lang.Object
net.logstash.logback.mask.MaskingJsonGeneratorDecorator.ValueMask
- Enclosing class:
MaskingJsonGeneratorDecorator
Values to mask, and the value to write as the mask.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueMask
public ValueMask() -
ValueMask
-
ValueMask
-
ValueMask
-
ValueMask
-
-
Method Details
-
addValue
- Parameters:
value- the regex used to identify values to mask
-
addValues
- Parameters:
values- a comma-separated string of regexes to mask
-
setMask
- Parameters:
mask- the value to write as a mask for values that match thevaluesregexes (can contain back references to capture groups in the regex)
-