Files
httprunner/pkg/ghdc/ghdc.go
2025-03-05 21:40:47 +08:00

18 lines
224 B
Go

package ghdc
import "log"
var debugFlag = false
// SetDebug set debug mode
func SetDebug(debug bool) {
debugFlag = debug
}
func debugLog(msg string) {
if !debugFlag {
return
}
log.Println("[DEBUG] [ghd] " + msg)
}