1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-09-02 13:47:00 +02:00

override func properly

This commit is contained in:
Deon Thomas 2022-05-10 17:49:04 -04:00
parent ac4967105e
commit 6163291c01
No known key found for this signature in database
GPG Key ID: 0FF7DAE12CA62D67

View File

@ -45,10 +45,7 @@ func main() {
}
}
zerolog.TimestampFunc = func() time.Time {
return headscale.NowFromTZEnv()
}
zerolog.TimestampFunc = headscale.NowFromTZEnv
log.Logger = log.Output(zerolog.ConsoleWriter{
Out: os.Stdout,