Sam
80648e08f6
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #38
14 lines
265 B
Go
14 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
|
|
}
|