summaryrefslogtreecommitdiff
path: root/warn.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-04 12:34:04 -0600
committerJeff Carr <[email protected]>2024-01-04 12:34:04 -0600
commit9b46482ad0da5e4b965debdb815ebcd89a666d89 (patch)
treefce0b8ae561d6f44ff0cd54cdc6bd51ec0f1b3ee /warn.go
parent6b25784508180c69076f53b7a4e78f85b367c902 (diff)
make a log config window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'warn.go')
-rw-r--r--warn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/warn.go b/warn.go
index b15311d..0ad3118 100644
--- a/warn.go
+++ b/warn.go
@@ -5,6 +5,6 @@ import (
)
func Warn(a ...any) {
- if ! WARN { return }
+ if ! WARN.B { return }
origlog.Println(a...)
}