summaryrefslogtreecommitdiff
path: root/warn.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-30 20:48:24 -0600
committerJeff Carr <[email protected]>2023-12-30 20:48:24 -0600
commitd7d3fbc3a31dbba4de1737244f39945608e5a0ac (patch)
tree6e37fcd9ffaec23dbc81fe2d0fb57e3813bed540 /warn.go
parent424a1b42e294e89a6f893196ebf23ba3d20572db (diff)
more or less functional draft
Diffstat (limited to 'warn.go')
-rw-r--r--warn.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/warn.go b/warn.go
index 75d466c..b15311d 100644
--- a/warn.go
+++ b/warn.go
@@ -5,5 +5,6 @@ import (
)
func Warn(a ...any) {
+ if ! WARN { return }
origlog.Println(a...)
}