meowlib/client/helpers/logger.go
ycc 9b6caf4e62
Some checks failed
continuous-integration/drone/push Build is failing
adding loggers
2024-06-05 22:23:48 +02:00

13 lines
178 B
Go

package helpers
import (
"github.com/rs/zerolog"
)
var logger zerolog.Logger
// AddLogger sets the logger for the sublibrary
func AddLogger(l zerolog.Logger) {
logger = l
}