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
|
|
}
|