Closed
Description
Hi!
With a recent update I've noticed that my debug data dumps in logs get fully escaped. Previously, I had nicely formatted data structs
in output (using spew.Sdump
), so I could actually read them.
Code:
- data is a complex data structure with arrays, pointers, many custom types, optional fields etc.
log.Debug(spew.Sdump(data))
And now I get:
(*pkg.Data)(0xc423e8cb00)({\n UUID: (string) \"\",\n Property:
...
I've browsed through recent updates, but can't find a way to turn this off other then fixing version of logrus to some previous one. Please advise. The data dumps are unreadable now.