tracking down all erroneous log messages
This commit is contained in:
parent
c1c1b8a75e
commit
68150c5e8e
2
log.go
2
log.go
|
@ -24,7 +24,7 @@ In your package, register NETWARN:
|
|||
func Log(f *LogFlag, a ...any) {
|
||||
if !f.Ok() {
|
||||
// if the flag is NULL, notify the user they didn't initialize the flag
|
||||
a = append([]any{"FLAG = NULL"}, a...)
|
||||
a = append([]any{"FLAG = NULL. Normal error output. please ignore for now"}, a...)
|
||||
realPrintln(a...)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue