github.com/phuslu/log@v1.0.100/logger_silent_amd64.go (about)

     1  //go:build amd64
     2  // +build amd64
     3  
     4  package log
     5  
     6  //gcassert:inline
     7  func (l *Logger) silent(level Level) bool {
     8  	return level < l.Level
     9  }