diff options
Diffstat (limited to 'info.go')
| -rw-r--r-- | info.go | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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...) } |
