2 points · by dmytton · 2y ago · 0 comments
No comments yet.
How do you redact sensitive data from Go logs?
Implement slog.LogValuer on types that hold secrets so only allow-listed fields are logged. log/slog has been in the standard library since Go 1.21.
Arcjet