665a3cc666
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
7 lines
129 B
Go
7 lines
129 B
Go
package util
|
|
|
|
import "github.com/rs/zerolog/log"
|
|
|
|
func LogErr(err error, msg string) {
|
|
log.Error().Caller().Err(err).Msg(msg)
|
|
}
|