grumbulon
ed4d74bb96
All checks were successful
continuous-integration/drone/push Build is passing
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>
13 lines
179 B
Go
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
|
|
}
|