fixed project name in flake
This commit is contained in:
parent
413904c457
commit
bf78461bbb
2 changed files with 9 additions and 2 deletions
|
|
@ -39,7 +39,7 @@
|
|||
default = pkgs.callPackage (
|
||||
{ buildGoModule }:
|
||||
buildGoModule {
|
||||
pname = "wand-templater";
|
||||
pname = "bubblewand";
|
||||
version = "0.0.1";
|
||||
src = builtins.path {
|
||||
name = "source";
|
||||
|
|
|
|||
|
|
@ -16,4 +16,11 @@ func init() {
|
|||
Level: log.InfoLevel,
|
||||
})
|
||||
}
|
||||
|
||||
func initLogging() {
|
||||
level, err := log.ParseLevel(logLevel)
|
||||
if err != nil {
|
||||
Log.Warn("Invalid log level; defaulting to info", "input", logLevel)
|
||||
level = log.InfoLevel
|
||||
}
|
||||
Log.SetLevel(level)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue