Add pkg/log

This commit is contained in:
Elara 2023-09-22 15:25:40 -07:00
parent ac45087ead
commit be1d9be7a8
1 changed files with 11 additions and 0 deletions

11
pkg/log/log.go Normal file
View File

@ -0,0 +1,11 @@
package log
import (
"go.elara.ws/logger"
"go.elara.ws/lure/internal/log"
)
// SetLogger sets LURE's global logger, which is disabled by default
func SetLogger(l logger.Logger) {
log.Logger = l
}