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

Feat: allow modification of log message formatting? #697

Open
reinkrul opened this issue Nov 25, 2024 · 0 comments
Open

Feat: allow modification of log message formatting? #697

reinkrul opened this issue Nov 25, 2024 · 0 comments

Comments

@reinkrul
Copy link

In our system, we want to mask certain data to make sure we don't accidentally log PII (Personally identifiable information), like social security numbers. A central place to do this would be our logger, but zerolog's Msgf function doesn't allow alteration of its behavior. For example, configuring a custom message formatting function.

What do you think of such a feature, and would you be willing to accept a PR for it (if it meets the criteria obviously)?

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

No branches or pull requests

1 participant