linstrom/util/zerologPasskey.go
mStar c572066571 progress
server is launchable and passkey support works
2024-09-27 16:53:22 +02:00

21 lines
475 B
Go

package util
import "github.com/rs/zerolog/log"
type ZerologWrapper struct{}
func (z *ZerologWrapper) Errorf(format string, args ...any) {
log.Error().Msgf(format, args...)
}
func (z *ZerologWrapper) Debugf(format string, args ...any) {
log.Debug().Msgf(format, args...)
}
func (z *ZerologWrapper) Infof(format string, args ...any) {
log.Info().Msgf(format, args...)
}
func (z *ZerologWrapper) Warnf(format string, args ...any) {
log.Warn().Msgf(format, args...)
}