tracking down all erroneous log messages

This commit is contained in:
Your Name 2024-01-01 12:00:00 -06:00
parent c1c1b8a75e
commit 68150c5e8e
1 changed files with 1 additions and 1 deletions

2
log.go
View File

@ -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
} }