awl/util/logger.go
Sam Therapy 80648e08f6
All checks were successful
continuous-integration/drone/push Build is passing
(refactor) Draw the rest of the owl (#38)
Reviewed-on: #38
2022-07-26 00:32:31 +00:00

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