github.com/ethereumproject/go-ethereum@v5.5.2+incompatible/eth/fetcher/mlog.go (about) 1 package fetcher 2 3 import "github.com/ethereumproject/go-ethereum/logger" 4 5 var mlogFetcher = logger.MLogRegisterAvailable("fetcher", mLogLines) 6 7 var mLogLines = []*logger.MLogT{ 8 mlogFetcherDiscardAnnouncement, 9 } 10 11 var mlogFetcherDiscardAnnouncement = &logger.MLogT{ 12 Description: "Called when a block announcement is discarded.", 13 Receiver: "FETCHER", 14 Verb: "DISCARD", 15 Subject: "ANNOUNCEMENT", 16 Details: []logger.MLogDetailT{ 17 {Owner: "ANNOUNCEMENT", Key: "ORIGIN", Value: "STRING"}, 18 {Owner: "ANNOUNCEMENT", Key: "NUMBER", Value: "INT"}, 19 {Owner: "ANNOUNCEMENT", Key: "HASH", Value: "STRING"}, 20 {Owner: "ANNOUNCEMENT", Key: "DISTANCE", Value: "INT"}, 21 }, 22 }