index
:
go.wit.com/log.git
devel
master
Unnamed repository; edit this file 'description' to name the repository.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
warn.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'warn.go')
-rw-r--r--
warn.go
1
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...)
}