Commit 0f6a2e27 authored by Brian Tiger Chow's avatar Brian Tiger Chow

feat(eventlog) use the polite json formatter

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent 2d6b10f6
......@@ -3,8 +3,8 @@ package eventlog
import (
"io"
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/gopkg.in/natefinch/lumberjack.v2"
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/maybebtc/logrus"
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/gopkg.in/natefinch/lumberjack.v2"
)
type Option func()
......@@ -17,7 +17,7 @@ func Configure(options ...Option) {
// LdJSONFormatter formats the event log as line-delimited JSON
var LdJSONFormatter = func() {
logrus.SetFormatter(&logrus.JSONFormatter{})
logrus.SetFormatter(&logrus.PoliteJSONFormatter{})
}
var TextFormatter = func() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment