From 8f34aa62f2b81d0dc90c93bf248808e799a0b652 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Jan 2024 19:33:41 -0600 Subject: send everything through go.wit.com/log Signed-off-by: Jeff Carr --- args.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'args.go') diff --git a/args.go b/args.go index c221c16..574de06 100644 --- a/args.go +++ b/args.go @@ -6,13 +6,29 @@ import ( "go.wit.com/log" ) +var INFO log.LogFlag var CURL log.LogFlag +var ZONE log.LogFlag func init() { + INFO.B = true + INFO.Name = "INFO" + INFO.Subsystem = "cloudflare" + INFO.Short = "gui cf" + INFO.Desc = "general info" + INFO.Register() + CURL.B = true CURL.Name = "CURL" CURL.Subsystem = "cloudflare" CURL.Short = "gui cf" CURL.Desc = "curl interactions()" CURL.Register() + + ZONE.B = true + ZONE.Name = "ZONE" + ZONE.Subsystem = "cloudflare" + ZONE.Short = "gui cf" + ZONE.Desc = "zone details" + ZONE.Register() } -- cgit v1.2.3