diff options
Diffstat (limited to 'error.go')
| -rw-r--r-- | error.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,7 +5,9 @@ package log func Error(err error, a ...any) { - if ! ERROR.Get() { return } + if !ERROR.Get() { + return + } realPrintln("Error:", err) realPrintln(a...) } |
