phuslu / log

Fastest structured logging
MIT License
672 stars 44 forks source link

[FEATURE REQUEST] - Hide and/or remove PII data from logging #58

Closed sujit-baniya closed 1 year ago

sujit-baniya commented 1 year ago

Description

struct or map might contain PII data and look for an option to hide(mask) such PII data and/or remove such keys

phuslu commented 1 year ago

something like https://go.dev/play/p/SoQdwQOaQR2 ?

sujit-baniya commented 1 year ago

@phuslu Yes, for Struct, we could use something like that. For map, how would we do that?