diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 11:30:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 11:30:12 -0600 |
| commit | 40f819c3a28233bccb2cd48446639e5130fe6211 (patch) | |
| tree | 5160e228edf4068a4286c3233289e67059ce0358 /log.go | |
| parent | 4f3255c681c4a5927be7b104e1c8195f01cabdb6 (diff) | |
more logging updates
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'log.go')
| -rw-r--r-- | log.go | 34 |
1 files changed, 0 insertions, 34 deletions
@@ -1,34 +0,0 @@ -package main - -/* - this enables command line options from other packages like 'gui' and 'log' -*/ - -import ( - log "go.wit.com/log" -) - -var NOW *log.LogFlag -var INFO *log.LogFlag - -var SPEW *log.LogFlag -var WARN *log.LogFlag - -var ERROR *log.LogFlag -var CHANGE *log.LogFlag -var TOOLKIT *log.LogFlag - -func init() { - full := "go.wit.com/toolkits/andlabs" - short := "andlabs" - - NOW = log.NewFlag("NOW", true, full, short, "temp debugging stuff") - INFO = log.NewFlag("INFO", false, full, short, "normal debugging stuff") - - WARN = log.NewFlag("WARN", true, full, short, "bad things") - SPEW = log.NewFlag("SPEW", false, full, short, "spew stuff") - - ERROR = log.NewFlag("ERROR", false, full, short, "toolkit errors") - CHANGE = log.NewFlag("ERROR", false, full, short, "show when the user does things") - TOOLKIT = log.NewFlag("ERROR", false, full, short, "andlabs specific stuff") -} |
