Use sirupsen/logrus instead of abcum fork

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-09 15:46:27 +00:00
parent 3ea681ca34
commit 99ea0a3368
2 changed files with 4 additions and 3 deletions

View file

@ -17,13 +17,14 @@ package log
import ( import (
"bytes" "bytes"
"fmt" "fmt"
"os"
"runtime" "runtime"
"sort" "sort"
"strings" "strings"
"time" "time"
"github.com/abcum/logrus"
"github.com/mgutz/ansi" "github.com/mgutz/ansi"
"github.com/sirupsen/logrus"
) )
const clear = ansi.Reset const clear = ansi.Reset
@ -35,7 +36,7 @@ var (
func init() { func init() {
baseTimestamp = time.Now() baseTimestamp = time.Now()
isTerminal = logrus.IsTerminal() isTerminal = logrus.IsTerminal(os.Stdout)
} }
func miniTS() int { func miniTS() int {

View file

@ -18,7 +18,7 @@ import (
"os" "os"
"time" "time"
"github.com/abcum/logrus" "github.com/sirupsen/logrus"
) )
var log *Logger var log *Logger