From fbbae2b721c04be740d67b9d227a7578030f93b9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 19 Mar 2014 07:21:23 -0400 Subject: Working on register mail confirmation --- modules/middleware/logger.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/middleware') 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) -- cgit v1.2.3