awl/util/logger.go
Sam Therapy 1b5d5a3fed
Some checks failed
continuous-integration/drone/push Build is failing
Do "a few things"
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-07-20 23:14:15 +02:00

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