aboutsummaryrefslogtreecommitdiff
path: root/modules/middleware/logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/middleware/logger.go')
-rw-r--r--modules/middleware/logger.go2
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)