dump logrus and roll our own logger instead

This commit is contained in:
Christian Schwarz
2017-09-23 18:20:22 +02:00
parent c31ec8c646
commit e0e362c4ff
10 changed files with 491 additions and 251 deletions

View File

@@ -11,8 +11,8 @@
package cmd
import (
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/zrepl/zrepl/logger"
)
//
@@ -20,7 +20,7 @@ import (
// Printf(format string, v ...interface{})
//}
type Logger logrus.FieldLogger
type Logger = *logger.Logger
var RootCmd = &cobra.Command{
Use: "zrepl",