13 lines
177 B
Go
13 lines
177 B
Go
|
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
|
||
|
}
|