github.com/go-chef/chef@v0.30.1/debug.go (about) 1 //go:build debug 2 // +build debug 3 4 // Add -tags debug to go run or go build to turn on debug output 5 6 package chef 7 8 import "log" 9 10 func debug(fmt string, args ...interface{}) { 11 log.Printf(fmt, args...) 12 } 13 14 func debug_on() bool { 15 return true 16 }