mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-11 18:54:25 +00:00
8 lines
129 B
Go
8 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)
|
||
|
}
|