2024-01-05 20:07:49 -06:00
|
|
|
package shell
|
2024-01-05 20:01:07 -06:00
|
|
|
|
|
|
|
// initializes logging and command line options
|
|
|
|
|
|
|
|
import (
|
|
|
|
"go.wit.com/log"
|
|
|
|
)
|
|
|
|
|
2024-01-10 18:39:58 -06:00
|
|
|
var NOW *log.LogFlag
|
|
|
|
var INFO *log.LogFlag
|
|
|
|
var RUN *log.LogFlag
|
|
|
|
var SSH *log.LogFlag
|
2024-01-05 20:01:07 -06:00
|
|
|
|
|
|
|
func init() {
|
2024-01-25 00:39:14 -06:00
|
|
|
full := "go.wit.com/lib/gui/shell"
|
2024-01-10 18:39:58 -06:00
|
|
|
short := "shell"
|
2024-01-05 20:52:42 -06:00
|
|
|
|
2024-01-25 00:39:14 -06:00
|
|
|
NOW = log.NewFlag("NOW", true, full, short, "temp debugging stuff")
|
2024-01-10 18:39:58 -06:00
|
|
|
INFO = log.NewFlag("INFO", false, full, short, "General Info")
|
|
|
|
RUN = log.NewFlag("RUN", false, full, short, "Run() info")
|
|
|
|
SSH = log.NewFlag("SSH", false, full, short, "ssh() info")
|
2024-01-05 20:01:07 -06:00
|
|
|
}
|