summaryrefslogtreecommitdiff
path: root/flags.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-07 08:45:26 -0600
committerJeff Carr <[email protected]>2024-02-07 08:45:26 -0600
commit99fbd48d0bc29e9156a8610faa4744a7132e2713 (patch)
treefb69813efc56e2a6c9c641388c4c27acbed004f2 /flags.go
parentfc382169a37d3f28cd7ba2d6f5046b9ee793381e (diff)
make this quiet finallyv0.20.3v0.20.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'flags.go')
-rw-r--r--flags.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/flags.go b/flags.go
index d61f33f..14f1f38 100644
--- a/flags.go
+++ b/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 {