coder/slog

Add package level functions for logging to the stderr logger

sreya opened this issue · 1 comments

sreya commented

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

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.