diff options
| author | Jeff Carr <[email protected]> | 2024-02-09 03:46:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-09 03:46:41 -0600 |
| commit | cdb0808c22be1cd6d5ee7d07b8bb0cf666766bf8 (patch) | |
| tree | 1f6f8ba0b4a892392b522b0cbcb55a723278ff47 /flags.go | |
| parent | 1aacff60a13d82d7d5a317bdc13e0f1ed003b8ad (diff) | |
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'flags.go')
| -rw-r--r-- | flags.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flags.go b/flags.go new file mode 100644 index 0000000..cfc82bd --- /dev/null +++ b/flags.go @@ -0,0 +1,20 @@ +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") +} |
