Updated logging
This commit is contained in:
parent
ff9e4b3e3a
commit
4859b622a5
6 changed files with 13 additions and 12 deletions
3
main.go
3
main.go
|
|
@ -4,7 +4,6 @@ import (
|
|||
"github.com/urfave/cli/v2"
|
||||
"lpm-cli/Commands"
|
||||
"lpm-cli/Informations"
|
||||
"github.com/sirupsen/logrus"
|
||||
"lpm-cli/Lotus"
|
||||
"os"
|
||||
)
|
||||
|
|
@ -12,7 +11,7 @@ import (
|
|||
|
||||
func main() {
|
||||
|
||||
logger := Lotus.CreateLogger("mainThread", logrus.InfoLevel)
|
||||
logger := Lotus.Logger("mainThread")
|
||||
|
||||
app := &cli.App {
|
||||
Name: "lotus-pm",
|
||||
|
|
|
|||
Reference in a new issue