Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding mask formatting example #287

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Conversation

escodel
Copy link
Contributor

@escodel escodel commented Oct 29, 2023

Including a formatting example for masking data with a common use case of customizing how many characters to mask and the character to use for replacing.

Very dependent on particular object property key names, but could possibly be combined with regex expressions for common PII/PCI/PHI data formats.

Inspired by feature request 2116 from winstonjs/winston.

@wbt wbt merged commit ded082a into winstonjs:master Nov 8, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants