make this quiet finally
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
fc382169a3
commit
99fbd48d0b
3
flags.go
3
flags.go
|
@ -76,7 +76,6 @@ func init() {
|
|||
ERROR = NewFlag("ERROR", true, full, short, "Enable log.Error()")
|
||||
PRINTLN = NewFlag("PRINTLN", true, full, short, "Enable log.Println()")
|
||||
VERBOSE = NewFlag("VERBOSE", false, full, short, "Enable log.Verbose()")
|
||||
|
||||
}
|
||||
|
||||
// restores flag to it's default value
|
||||
|
@ -188,7 +187,7 @@ func NewFlag(name string, b bool, full, short, desc string) *LogFlag {
|
|||
flagsMutex.Lock()
|
||||
defer flagsMutex.Unlock()
|
||||
f := new(LogFlag)
|
||||
Log(always, "log.SetFlag() ", full, short, name, true)
|
||||
// Log(always, "log.SetFlag() ", full, short, name, b)
|
||||
if allon {
|
||||
f.b = true
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue