awl/util/Logger.go
grumbulon 8ce0d68cad
All checks were successful
continuous-integration/drone/push Build is passing
debug logging
2022-07-02 13:29:01 -04:00

13 lines
179 B
Go

package util
import "git.froth.zone/sam/awl/logawl"
func InitLogger(debug bool) (Logger *logawl.Logger) {
Logger = logawl.New()
if debug {
Logger.SetLevel(3)
}
return
}