rolling-shutter
rolling-shutter copied to clipboard
Redact sensitive values on config logging
This introduces another shconfig
tag sensitive
.
When using the LogConfig
function, all values tagged with sensitive will be redacted upon logging and a (sensitive)
value will be shown instead.
The tree-traversal based dict-parsing function might not be the most efficient, but logging of the config values is expected to be done infrequently / once only.