meowlib/client/logger.go

13 lines
177 B
Go
Raw Normal View History

2024-06-05 22:23:48 +02:00
package client
import (
"github.com/rs/zerolog"
)
var logger zerolog.Logger
// AddLogger sets the logger for the sublibrary
func AddLogger(l zerolog.Logger) {
logger = l
}