Permalink
Browse files

Logging: update to latest version of logrus dep

This also required a minor code change, since logrus.IsTerminal now takes
an arg.
  • Loading branch information...
evanelias committed May 10, 2017
1 parent 9e5781d commit 8ef8ea34c91b26bd500e0bf02c78c35ab85da546
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
3 log.go
@@ -3,14 +3,15 @@ package main
import (
"bytes"
"fmt"
"os"
"strings"
log "github.com/Sirupsen/logrus"
)
func init() {
log.SetFormatter(&customFormatter{
isTerminal: log.IsTerminal(),
isTerminal: log.IsTerminal(os.Stderr),
})
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 8ef8ea3

Please sign in to comment.