diff options
| author | Jeff Carr <[email protected]> | 2024-02-07 08:58:51 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-07 08:58:51 -0600 | 
| commit | 89c14962b8ce71c2cf8a7e565eec4e20e04e8091 (patch) | |
| tree | b7ecbd4653a886be351eadad6302b238a4a308eb | |
| parent | 3f3e8e1b2ebff2978c28bcdf870ab5bc5b9076b4 (diff) | |
use standard log thingsv0.20.1
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | args.go | 10 | 
1 files changed, 2 insertions, 8 deletions
@@ -19,18 +19,12 @@ var args struct {  	TmpLog     bool   `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`  } -var NOW *log.LogFlag -  func init() {  	arg.MustParse(&args) -	full := "go.wit.com/control-panels/dns" -	short := "cpdns" - -	NOW = log.NewFlag("NOW", true, full, short, "temp debugging stuff")  	if debugger.ArgDebug() { -		log.Log(NOW, "INIT() gui debug == true") +		log.Info("cmd line --debugger == true")  	} else { -		log.Log(NOW, "INIT() gui debug == false") +		log.Info("cmd line --debugger == false")  	}  }  | 
