github.com/ethereumproject/go-ethereum@v5.5.2+incompatible/cmd/geth/logeventtype_string.go (about)

     1  // Code generated by "stringer -type=logEventType"; DO NOT EDIT.
     2  
     3  package main
     4  
     5  import "strconv"
     6  
     7  const _logEventType_name = "logEventChainInsertlogEventChainInsertSidelogEventHeaderChainInsertlogEventMinedBlocklogEventDownloaderStartlogEventDownloaderDonelogEventDownloaderFailedlogEventIntervallogEventBeforelogEventAfter"
     8  
     9  var _logEventType_index = [...]uint8{0, 19, 42, 67, 85, 108, 130, 154, 170, 184, 197}
    10  
    11  func (i logEventType) String() string {
    12  	if i < 0 || i >= logEventType(len(_logEventType_index)-1) {
    13  		return "logEventType(" + strconv.FormatInt(int64(i), 10) + ")"
    14  	}
    15  	return _logEventType_name[_logEventType_index[i]:_logEventType_index[i+1]]
    16  }