-
Notifications
You must be signed in to change notification settings - Fork 143
Cleanup logging #216
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
Cleanup logging #216
Conversation
It would be nice to get #7 merged. Then we can enforce this via linter settings. |
Somewhat related to #215. |
4abb7f8
to
30a4e5d
Compare
Make sure all logging output is called via the main logger instead of stdlib `"log"` or `fmt.Print(f|ln)`. Signed-off-by: SuperQ <superq@gmail.com>
30a4e5d
to
34e33e4
Compare
As this touches quite a few files and will become rebasing-hell quite quickly, a review of this would be great once you folks get time. |
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.
We should probably standardise the way messages are written, like my PRs introduced display: method:
, some use [feature.method]
and the rest just have no format.
But that's out of scope for this PR imo.
My idea is to switch logging to Within each feature you can do |
Make sure all logging output is called via the main logger instead of stdlib
"log"
orfmt.Print(f|ln)
.