Add debug setting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler 2021-03-07 00:07:06 -05:00
parent 018a86232d
commit 61f66b9437

View File

@ -42,6 +42,10 @@ func main() {
Timeout: 15 * time.Second,
}
if viper.GetBool("debug") {
log.SetLevel(log.DebugLevel)
}
c, err := yara.NewCompiler()
if err != nil {