digitalocean/flags.go

21 lines
467 B
Go
Raw Permalink Normal View History

package digitalocean
// initializes logging and command line options
import (
"go.wit.com/log"
)
var NOW *log.LogFlag
var INFO *log.LogFlag
var POLL *log.LogFlag
func init() {
full := "go.wit.com/lib/gui/digitalocean"
short := "DOgui"
NOW = log.NewFlag("NOW", true, full, short, "temp debugging stuff")
INFO = log.NewFlag("INFO", false, full, short, "normal debugging stuff")
POLL = log.NewFlag("POLL", false, full, short, "show droplet status polling")
}