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 package level functions for logging to the stderr logger #82

Open
sreya opened this issue Feb 1, 2020 · 1 comment
Open

Add package level functions for logging to the stderr logger #82

sreya opened this issue Feb 1, 2020 · 1 comment
Labels

Comments

@sreya
Copy link

sreya commented Feb 1, 2020

Right now it's relatively difficult to find the default logger to use if an explicit logger is not available. It would be nice to be able to do

slog.Error(...)
@nhooyr nhooyr added the feature label Feb 1, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Feb 1, 2020

The only potential issue I see here is the dependency on slog -> sloghuman and sloghuman -> slog but the benefit is great so we might as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants