go.wit.com/log change
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
1a36770481
commit
0ca02e5069
24
args.go
24
args.go
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue