opened
stevenroose
username_0
I've had this issue since always in one of my projects. The newlines and indentations get lost when using spew on a certain object type. All other object both before and after dumping this one, are printed just fine.

This is the type definition and all the subtypes. It can be found in the wild here: https://github.com/ethereum/go-ethereum/blob/master/core/types/receipt.go#L46

```go
type Receipt struct {
	PostState         []byte
	Status            uint
	CumulativeGasUsed *big.Int
	Bloom             Bloom
	Logs              []*Log
	TxHash            common.Hash
	ContractAddress   common.Address
	GasUsed           *big.Int
}

type Hash [HashLength]byte
type Address [AddressLength]byte
type Bloom [BloomByteLength]byte

type Log struct {
	Address     common.Address
	Topics      []common.Hash
	Data        []byte
	BlockNumber uint64
	TxHash      common.Hash
	TxIndex     uint
	BlockHash   common.Hash
	Index       uint
	Removed     bool
}
```

It looks like some of the
Formatting lost for specific object
issue
created
stevenroose
username_0
Whoops, just remember that I had this issue a year ago and that it was the `String()` method that looks a lot like spew output.
comment
closed
stevenroose
username_0
issue