Sam Therapy
1b5d5a3fed
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
14 lines
264 B
Go
14 lines
264 B
Go
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package util
|
|
|
|
import "git.froth.zone/sam/awl/logawl"
|
|
|
|
// Initialize the logawl instance
|
|
func InitLogger(verbosity int) (Logger *logawl.Logger) {
|
|
Logger = logawl.New()
|
|
|
|
Logger.SetLevel(logawl.Level(verbosity))
|
|
|
|
return
|
|
}
|