slog icon indicating copy to clipboard operation
slog copied to clipboard

Add package level functions for logging to the stderr logger

Open sreya opened this issue 6 years ago • 1 comments

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(...)

sreya avatar Feb 01 '20 01:02 sreya

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.

nhooyr avatar Feb 01 '20 01:02 nhooyr