My problem with that is that it makes it impossible to use slog logger safely without knowing what handler is being used. Which kind of defeats the purpose of defining the common structured logging interface.
As a producer of the response, if I didn't care about being understood, I would use a made-up language. As a consumer, you may care about understanding my response, but you cannot do anything about it.
unknown|5 months ago
[deleted]
9rx|5 months ago
Does it, though? Why would the log producer care about how the log entires are formatted? Only the log consumer cares about that.
aleksi|5 months ago
skeezyboy|5 months ago
[deleted]