3 ms·
The string representation is obviously not structured, because it's a string representation and strings are scalars. The typed representation is structured, whi
by rollulus 2y ago
The string representation is obviously not structured, because it's a string representation and strings are scalars. The typed representation is structured, which you can put into your structured logs as you'd like, omitting sensitive information where needed.
- zaptheimpaler 2y agoThe "typed" representation is an `error` type that a million other methods use with a single method that returns the string: type error interface { Error() string } It's the same unstructured goslop.
- philosopher1234 2y agoThis error is backed by a strict with error codes and so on.