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 (
"bytes"
"fmt"
"os"
"runtime"
"sort"
"strings"
"time"
"github.com/abcum/logrus"
"github.com/mgutz/ansi"
"github.com/sirupsen/logrus"
)
const clear = ansi.Reset
@ -35,7 +36,7 @@ var (
func init() {
baseTimestamp = time.Now()
isTerminal = logrus.IsTerminal()
isTerminal = logrus.IsTerminal(os.Stdout)
}
func miniTS() int {

View file

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