meowlib/client/helpers/logger.go

13 lines
178 B
Go
Raw Permalink Normal View History

2024-06-05 22:23:48 +02:00
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
}