13 lines
322 B
Go
13 lines
322 B
Go
package test
|
|
|
|
import "github.com/ipfs/go-log/v2"
|
|
|
|
func QuietMiningLogs() {
|
|
_ = log.SetLogLevel("miner", "ERROR")
|
|
_ = log.SetLogLevel("chainstore", "ERROR")
|
|
_ = log.SetLogLevel("chain", "ERROR")
|
|
_ = log.SetLogLevel("sub", "ERROR")
|
|
_ = log.SetLogLevel("storageminer", "ERROR")
|
|
_ = log.SetLogLevel("pubsub", "ERROR")
|
|
}
|