meowlib/server/logger.go

13 lines
177 B
Go
Raw Permalink Normal View History

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