summaryrefslogtreecommitdiff
path: root/bool.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 01:23:43 -0600
committerJeff Carr <[email protected]>2024-11-07 01:23:43 -0600
commitef61eb494b42a7bc226de1edc114579ce530abdd (patch)
tree0bd23b52a8aae23806d8cdc9896936c39cd07728 /bool.go
parent2b11a4e334f465aef868d6c1bf3f1a7c9dfd5c27 (diff)
try allowing switching to writing to httpv0.22.2
Diffstat (limited to 'bool.go')
-rw-r--r--bool.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bool.go b/bool.go
index 03a056b..7bcefa2 100644
--- a/bool.go
+++ b/bool.go
@@ -5,6 +5,8 @@
package log
func Bool(b bool, a ...any) {
- if ! b {return}
+ if !b {
+ return
+ }
realPrintln(a...)
}