diff --git a/args.go b/args.go index 4718144..2c8d378 100644 --- a/args.go +++ b/args.go @@ -6,23 +6,23 @@ import ( "go.wit.com/log" ) -var NOW log.LogFlag -var INFO log.LogFlag -var WARN log.LogFlag -var SPEW log.LogFlag +var NOW *log.LogFlag +var INFO *log.LogFlag +var WARN *log.LogFlag +var SPEW *log.LogFlag -var CURL log.LogFlag -var ZONE log.LogFlag +var CURL *log.LogFlag +var ZONE *log.LogFlag func init() { full := "go.wit.com/gui/cloudflare" short := "cfgui" - NOW.NewFlag( "NOW", true, full, short, "temp debugging stuff") - INFO.NewFlag("INFO", false, full, short, "general info") - WARN.NewFlag("WARN", true, full, short, "bad things") - SPEW.NewFlag("SPEW", false, full, short, "spew stuff") + NOW = log.NewFlag( "NOW", true, full, short, "temp debugging stuff") + INFO = log.NewFlag("INFO", false, full, short, "general info") + WARN = log.NewFlag("WARN", true, full, short, "bad things") + SPEW = log.NewFlag("SPEW", false, full, short, "spew stuff") - CURL.NewFlag("CURL", true, full, short, "curl interactions") - ZONE.NewFlag("ZONE", false, full, short, "zone details") + CURL = log.NewFlag("CURL", true, full, short, "curl interactions") + ZONE = log.NewFlag("ZONE", false, full, short, "zone details") }