Skip to content

Commit 13ba4dd

Browse files
Conor Broderickbrian-brazil
authored andcommitted
Added function to assign log level flag after parsing (#80)
Fixed log level reporting
1 parent 9e0844f commit 13ba4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type levelFlag string
3232

3333
// String implements flag.Value.
3434
func (f levelFlag) String() string {
35-
return fmt.Sprintf("%q", string(f))
35+
return fmt.Sprintf("%q", origLogger.Level.String())
3636
}
3737

3838
// Set implements flag.Value.

0 commit comments

Comments
 (0)