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

politeiawww: Add logger package. #1527

Merged
merged 1 commit into from
Oct 5, 2021
Merged

politeiawww: Add logger package. #1527

merged 1 commit into from
Oct 5, 2021

Conversation

lukebp
Copy link
Member

@lukebp lukebp commented Oct 5, 2021

This diff moves the logging state into into a new logger package
instead of storing it in the global main scope. This allows external
packages, such as plugins, to setup their own loggers without having to
add any code to main. This will allow plugins to be completely self
contained.

This diff moves the logging state into into a new `logger` package
instead of storing it in the global main scope. This allows external
packages, such as plugins, to setup their own loggers without having to
add any code to main. This will allow plugins to be completely self
contained.
Copy link
Member

@marcopeereboom marcopeereboom left a comment

Choose a reason for hiding this comment

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

YAS!!!!

@lukebp lukebp merged commit 76a2c6c into decred:master Oct 5, 2021
@lukebp lukebp deleted the logger branch February 6, 2022 17:11
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