coder/slog

Add slog.Type to print type of something

nhooyr opened this issue · 1 comments

Very useful in debugging.

so it'd be: slog.Type(v interface{}) -> slog.F("type", fmt.Sprintf("%T", v))