From d7c8096f29b3950c8fbc29ca669f9531aace4ae6 Mon Sep 17 00:00:00 2001 From: Sonia Hamilton Date: Fri, 13 Oct 2017 15:39:17 +0800 Subject: [PATCH] add colour to INFO level - blue --- log_nix.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log_nix.go b/log_nix.go index 4ff2ab1..1b76f84 100644 --- a/log_nix.go +++ b/log_nix.go @@ -32,6 +32,7 @@ var ( ERROR: ColorSeq(ColorRed), WARNING: ColorSeq(ColorYellow), NOTICE: ColorSeq(ColorGreen), + INFO: ColorSeq(ColorBlue), DEBUG: ColorSeq(ColorCyan), } boldcolors = []string{ @@ -39,6 +40,7 @@ var ( ERROR: ColorSeqBold(ColorRed), WARNING: ColorSeqBold(ColorYellow), NOTICE: ColorSeqBold(ColorGreen), + INFO: ColorSeqBold(ColorBlue), DEBUG: ColorSeqBold(ColorCyan), } )