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

Add log.MaskingLogger and log.Masker #14

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

lVlayhem
Copy link
Contributor

No description provided.

go.mod Outdated
@@ -8,6 +8,7 @@ require (
github.com/cenkalti/backoff/v4 v4.3.0
github.com/go-chi/chi/v5 v5.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/pkg/errors v0.9.1
Copy link
Member

@vasayxtx vasayxtx Oct 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use errors from the stdlib instead.
UPD: If you need to have an error that implements fmt.Formatter, suggest writing a simple wrapper in a few lines of code. It's better than adding +1 direct dependency.

@lVlayhem
Copy link
Contributor Author

lVlayhem commented Oct 21, 2024 via email

@vasayxtx vasayxtx merged commit d4c7a80 into acronis:master Oct 21, 2024
5 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