13 lines
178 B
Go
13 lines
178 B
Go
|
package helpers
|
||
|
|
||
|
import (
|
||
|
"github.com/rs/zerolog"
|
||
|
)
|
||
|
|
||
|
var logger zerolog.Logger
|
||
|
|
||
|
// AddLogger sets the logger for the sublibrary
|
||
|
func AddLogger(l zerolog.Logger) {
|
||
|
logger = l
|
||
|
}
|