Skip to content

Commit bc2ab22

Browse files
Update README for configuring operators through JSON
1 parent 23770cd commit bc2ab22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,13 @@ An example config file:
287287
"Args": {
288288
"options": {
289289
"MaskValue": "CUSTOM_MASK_FROM_JSON",
290-
"MaskingOperators": [ "MyApplication.Logging.Serilog.MyCustomMaskingOperator, MyAppliation.Logging" ]
290+
"Operators": [ "MyApplication.Logging.Serilog.MyCustomMaskingOperator, MyAppliation.Logging" ]
291291
}
292292
}
293293
}
294294
]
295295
}
296296
}
297297
```
298+
299+
> **Warning:** Contrary to what you might expect, for JSON configuration `Operators` should be used instead of `MaskingOperators`.

0 commit comments

Comments
 (0)