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"
)
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")
}