coder / slog

Minimal structured logging library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove dependency on xerrors

nhooyr opened this issue · comments

This means we would lose stack frames for now, which is fine I think given most of our error wraps are easily identifiable via text.

Thoughts @ammario @scsmithr @nathanpotter @coadler

I disagree. I find the stack frames extremely helpful, especially in slog.Human.

What do we gain from removing xerrors?

I agree with Colin.

Sounds good.

Less external dependencies, it's nice to be able to only depend on the stdlib.

Really unfortunate it was merged into the stdlib without traces :/