-
Notifications
You must be signed in to change notification settings - Fork 55
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
deps: convert zap to slog #2825
Conversation
✅ Deploy Preview for constellation-docs canceled.
|
✅ Deploy Preview for constellation-docs canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went over internal/logger
, dev-docs/conventions.md
, internal/attestation
, joinservice
, terraform-provider-constellation
, internal/constellation
. Mostly some usability nit-picks. Overall structure looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there we no relevant changes in my CODEOWNER files except for the provider. lgtm
e673aa7
to
2e56702
Compare
cf7493c
to
5132017
Compare
Coverage report
|
1 similar comment
Coverage report
|
Context
Rewrite packages to use slog instead of zap.
Proposed change(s)
Additional info
operators
was not rewrittenFatal()
function it was replaced by a call toError()
followed byos.Exit(1)
level=ERROR
instead oflevel=FATAL
replaceAttr()
function that could be written in the logger package, however this would cause more boilerplate in the logger package and accross the whole project, so I decided against itChecklist