Merge pull request #235 from diegobernardes/patch-1

Update README.md
This commit is contained in:
Simon Eskildsen 2015-08-18 20:11:02 -04:00
commit 27b713cfd2
1 changed files with 1 additions and 1 deletions

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{})