1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol/util/log.go

8 lines
129 B
Go
Raw Normal View History

package util
import "github.com/rs/zerolog/log"
func LogErr(err error, msg string) {
log.Error().Caller().Err(err).Msg(msg)
}