Use sirupsen/logrus instead of abcum fork
This commit is contained in:
parent
3ea681ca34
commit
99ea0a3368
2 changed files with 4 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/abcum/logrus"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var log *Logger
|
||||
|
|
Loading…
Reference in a new issue