Ignore Stringer() interface
pjebs opened this issue · comments
pj commented
Is there somewhere to configure Spew so that Sdump
ignores Stringer
interface.
Josh Rickmar commented
It may be reasonable to avoid usage of Stringer by default. GoStringer would be a more appropriate choice.
Chris Miller commented
spew.Config.DisableMethods = true
You can also make your own ConfigState
and call Sdump
on it.