diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 20:29:57 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 20:29:57 -0600 |
| commit | 30832551c35db0e398cee43d302e44b0de2e65bc (patch) | |
| tree | a325bb60bc94007433594d55e6f4a23b735cf457 /args.go | |
| parent | 85cbd78883c7a79195eecb59be85e962025b9db5 (diff) | |
use log Flags
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +package gadgets + +// initializes logging and command line options + +import ( + "go.wit.com/log" +) + +var INFO log.LogFlag + +func init() { + INFO.B = false + INFO.Name = "INFO" + INFO.Subsystem = "gadgets" + INFO.Short = "gadgets" + INFO.Desc = "general info" + INFO.Register() +} |
