awl/util/logger.go
grumbulon ed4d74bb96
All checks were successful
continuous-integration/drone/push Build is passing
refactor of query.go (#27)
Includes a fix for #26

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #27
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-07-03 20:45:12 +00: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
}