diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-19 07:21:23 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-19 07:21:23 -0400 |
commit | fbbae2b721c04be740d67b9d227a7578030f93b9 (patch) | |
tree | 394b9bb1e2e3b36611d834027ecaf6ee34a8a41d /modules/middleware | |
parent | 9a666f33773c5d8b66e9ab66598414f62bcfdc11 (diff) |
Working on register mail confirmation
Diffstat (limited to 'modules/middleware')
-rw-r--r-- | modules/middleware/logger.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/middleware/logger.go b/modules/middleware/logger.go index 9ae620eb..dcf85246 100644 --- a/modules/middleware/logger.go +++ b/modules/middleware/logger.go @@ -37,6 +37,8 @@ func Logger() martini.Handler { content = fmt.Sprintf("\033[1;33m%s\033[0m", content) case 404: content = fmt.Sprintf("\033[1;31m%s\033[0m", content) + case 500: + content = fmt.Sprintf("\033[1;36m%s\033[0m", content) } } log.Println(content) |