You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think disallowing global loggers in general might be a useful option, so we could implement it as something like no-global: all (forbid global loggers) and no-global: default (forbid the default logger). WDYT?
So, for example,
slog.Info
would be forbidden, butl := slog.New(…); l.Info
would be allowed.The text was updated successfully, but these errors were encountered: