Clean up logrus

Replaces "log" from "logrus" as commonly used in large Go projects.

Makes it easier from a developer perspective to use `log.Info`,
`log.Debug`, etc.
This commit is contained in:
Charlie Drage
2017-02-27 10:53:24 -05:00
parent 135165b39c
commit c0043ebd11
9 changed files with 109 additions and 109 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"io"
"os"
"github.com/Sirupsen/logrus"
log "github.com/Sirupsen/logrus"
"github.com/spf13/cobra"
)
@@ -30,7 +30,7 @@ var completion = &cobra.Command{
err := Generate(cmd, args)
if err != nil {
logrus.Fatalf("Error: %s", err)
log.Fatalf("Error: %s", err)
}
return nil