tracking down all erroneous log messages
This commit is contained in:
parent
c1c1b8a75e
commit
ae1536b6b3
2
log.go
2
log.go
|
@ -24,7 +24,7 @@ In your package, register NETWARN:
|
||||||
func Log(f *LogFlag, a ...any) {
|
func Log(f *LogFlag, a ...any) {
|
||||||
if !f.Ok() {
|
if !f.Ok() {
|
||||||
// if the flag is NULL, notify the user they didn't initialize the flag
|
// 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...)
|
realPrintln(a...)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue