github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/benchmark/cmd/command/log.go (about) 1 package command 2 3 import ( 4 "github.com/sirupsen/logrus" 5 ) 6 7 func setLogLevel(level string) { 8 if l, err := logrus.ParseLevel(level); err == nil { 9 logrus.SetLevel(l) 10 } 11 }