go.wit.com/log change
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
eadd72a066
commit
9278bab222
|
@ -8,31 +8,31 @@ import (
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
var NOW log.LogFlag
|
var NOW *log.LogFlag
|
||||||
var INFO log.LogFlag
|
var INFO *log.LogFlag
|
||||||
var NET log.LogFlag
|
var NET *log.LogFlag
|
||||||
var DNS log.LogFlag
|
var DNS *log.LogFlag
|
||||||
|
|
||||||
var PROC log.LogFlag
|
var PROC *log.LogFlag
|
||||||
var SPEW log.LogFlag
|
var SPEW *log.LogFlag
|
||||||
var WARN log.LogFlag
|
var WARN *log.LogFlag
|
||||||
|
|
||||||
var CHANGE log.LogFlag
|
var CHANGE *log.LogFlag
|
||||||
var STATUS log.LogFlag
|
var STATUS *log.LogFlag
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
full := "go.wit.com/control-panels/dns/linuxstatus"
|
full := "go.wit.com/control-panels/dns/linuxstatus"
|
||||||
short := "linux"
|
short := "linux"
|
||||||
|
|
||||||
NOW.NewFlag( "NOW", true, full, short, "temp debugging stuff")
|
NOW = log.NewFlag( "NOW", true, full, short, "temp debugging stuff")
|
||||||
INFO.NewFlag("INFO", false, full, short, "normal debugging stuff")
|
INFO = log.NewFlag("INFO", false, full, short, "normal debugging stuff")
|
||||||
NET.NewFlag( "NET", false, full, short, "Network logging")
|
NET = log.NewFlag( "NET", false, full, short, "Network logging")
|
||||||
DNS.NewFlag( "DNS", false, full, short, "dnsStatus.update()")
|
DNS = log.NewFlag( "DNS", false, full, short, "dnsStatus.update()")
|
||||||
|
|
||||||
PROC.NewFlag("PROC", false, full, short, "/proc loggging")
|
PROC = log.NewFlag("PROC", false, full, short, "/proc loggging")
|
||||||
WARN.NewFlag("WARN", true, full, short, "bad things")
|
WARN = log.NewFlag("WARN", true, full, short, "bad things")
|
||||||
SPEW.NewFlag("SPEW", false, full, short, "spew stuff")
|
SPEW = log.NewFlag("SPEW", false, full, short, "spew stuff")
|
||||||
|
|
||||||
CHANGE.NewFlag("CHANGE", true, full, short, "when host or dns change")
|
CHANGE = log.NewFlag("CHANGE", true, full, short, "when host or dns change")
|
||||||
STATUS.NewFlag("STATUS", false, full, short, "Update() details")
|
STATUS = log.NewFlag("STATUS", false, full, short, "Update() details")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue