Update README.md

Just a small fix.
This commit is contained in:
Diego Bernardes de Sousa Pinto
2015-08-18 15:15:02 -03:00
parent 9c060de643
commit 1d47e5ed0e
+1 -1
View File
@@ -273,7 +273,7 @@ init() {
// do something here to set environment depending on an environment variable
// or command-line flag
if Environment == "production" {
log.SetFormatter(&logrus.JSONFormatter{})
log.SetFormatter(&log.JSONFormatter{})
} else {
// The TextFormatter is default, you don't actually have to do this.
log.SetFormatter(&log.TextFormatter{})