Skip to content

Adding mask formatting example#287

Merged
wbt merged 1 commit into
winstonjs:masterfrom
escodel:mask-format-example
Nov 8, 2023
Merged

Adding mask formatting example#287
wbt merged 1 commit into
winstonjs:masterfrom
escodel:mask-format-example

Conversation

@escodel

@escodel escodel commented Oct 29, 2023

Copy link
Copy Markdown
Contributor

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
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