1 2 3 4 5 6 7 8 9 10
package log import ( origlog "log" ) func Error(err error, a ...any) { origlog.Println("Error:", err) origlog.Println(a...) }