summaryrefslogtreecommitdiff
path: root/error.go
blob: 6db58496efbc36afed2f51fec35cfe87d3701260 (plain)
1
2
3
4
5
6
7
8
9
10
11
package log

import 	(
	origlog "log"
)

func Error(err error, a ...any) {
	if ! ERROR.B { return }
	origlog.Println("Error:", err)
	origlog.Println(a...)
}