go.wit.com/log change

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-08 23:53:42 -06:00
parent 1a36770481
commit 0ca02e5069
1 changed files with 12 additions and 12 deletions

24
args.go
View File

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