This commit is contained in:
Preston Van Loon
2019-05-24 16:54:03 -04:00
committed by GitHub
parent 305fea5bdb
commit 2d7dcfae61
3 changed files with 3 additions and 3 deletions

View File

@@ -1087,6 +1087,6 @@ go_repository(
go_repository(
name = "com_github_joonix_log",
commit = "e0e770ceed363301a4f50bbc9599c6925c77b2d8",
commit = "13fe31bbdd7a6f706b9114e188cdb53856be4d64",
importpath = "github.com/joonix/log",
)

View File

@@ -94,7 +94,7 @@ func main() {
logrus.SetFormatter(formatter)
break
case "fluentd":
logrus.SetFormatter(&joonix.FluentdFormatter{})
logrus.SetFormatter(joonix.NewFormatter())
break
case "json":
logrus.SetFormatter(&logrus.JSONFormatter{})

View File

@@ -170,7 +170,7 @@ contract in order to activate the validator client`,
logrus.SetFormatter(formatter)
break
case "fluentd":
logrus.SetFormatter(&joonix.FluentdFormatter{})
logrus.SetFormatter(joonix.NewFormatter())
break
case "json":
logrus.SetFormatter(&logrus.JSONFormatter{})