From 4fbdf5948e7969d5b9d16739da42f03e9aa00eff Mon Sep 17 00:00:00 2001 From: Lorenzo Villani Date: Fri, 20 Feb 2015 16:32:47 +0100 Subject: [PATCH] Change DebugLevel color to gray --- text_formatter.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/text_formatter.go b/text_formatter.go index 4e51734..4f50a60 100644 --- a/text_formatter.go +++ b/text_formatter.go @@ -15,6 +15,7 @@ const ( green = 32 yellow = 33 blue = 34 + gray = 37 ) var ( @@ -75,6 +76,8 @@ func (f *TextFormatter) Format(entry *Entry) ([]byte, error) { func printColored(b *bytes.Buffer, entry *Entry, keys []string) { var levelColor int switch entry.Level { + case DebugLevel: + levelColor = gray case WarnLevel: levelColor = yellow case ErrorLevel, FatalLevel, PanicLevel: