summaryrefslogtreecommitdiff
path: root/info.go
diff options
context:
space:
mode:
Diffstat (limited to 'info.go')
-rw-r--r--info.go16
1 files changed, 12 insertions, 4 deletions
diff --git a/info.go b/info.go
index f9b8194..0219fdc 100644
--- a/info.go
+++ b/info.go
@@ -5,13 +5,21 @@
package log
func Info(a ...any) {
- if ! INFO.Ok() { return }
- if ! INFO.b { return }
+ if !INFO.Ok() {
+ return
+ }
+ if !INFO.b {
+ return
+ }
realPrintln(a...)
}
func Infof(s string, a ...any) {
- if ! INFO.Ok() { return }
- if ! INFO.b { return }
+ if !INFO.Ok() {
+ return
+ }
+ if !INFO.b {
+ return
+ }
realPrintf(s, a...)
}