Add pkg/log
This commit is contained in:
parent
ac45087ead
commit
be1d9be7a8
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue