summaryrefslogtreecommitdiff
path: root/warn.go
diff options
context:
space:
mode:
Diffstat (limited to 'warn.go')
-rw-r--r--warn.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/warn.go b/warn.go
index d02d301..f94e255 100644
--- a/warn.go
+++ b/warn.go
@@ -5,7 +5,11 @@
package log
func Warn(a ...any) {
- if ! WARN.Ok() { return }
- if ! WARN.b { return }
+ if !WARN.Ok() {
+ return
+ }
+ if !WARN.b {
+ return
+ }
realPrintln(a...)
}