Updated logging

This commit is contained in:
netbenix 2021-11-06 21:20:49 +01:00
parent ff9e4b3e3a
commit 4859b622a5
6 changed files with 13 additions and 12 deletions

View file

@ -1,14 +1,13 @@
package Commands
import (
"github.com/sirupsen/logrus"
"github.com/urfave/cli/v2"
"lpm-cli/Lotus"
)
func NewListCommand() *cli.Command{
logger := Lotus.CreateLogger("listCommand", logrus.WarnLevel)
logger := Lotus.Logger("listCommand")
return &cli.Command{
Name: "list",