summaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'error.go')
-rw-r--r--error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.go b/error.go
index 983b522..c1544d3 100644
--- a/error.go
+++ b/error.go
@@ -5,7 +5,7 @@
package log
func Error(err error, a ...any) {
- if !ERROR.Get() {
+ if ERROR.Disabled() {
return
}
realPrintln("Error:", err)