plugeth-statediff/test_helpers/util.go
Roy Crihfield c4f16290c7 Updates post review
* remove StreamCodeAndCodeHash
* Makefile: local build target
* clean up comments & unused
2023-07-14 13:16:39 +08:00

14 lines
305 B
Go

package test_helpers
import (
geth_log "github.com/ethereum/go-ethereum/log"
"github.com/cerc-io/plugeth-statediff/utils/log"
)
// The geth sync logs are noisy, it can be useful to silence them
func SilenceLogs() {
geth_log.Root().SetHandler(geth_log.DiscardHandler())
log.TestLogger.SetLevel(2)
}