From 2a3b2b2b998d84df56800cd196315307d9d481fb Mon Sep 17 00:00:00 2001 From: patrick96 Date: Mon, 13 Aug 2018 17:18:03 +0200 Subject: [PATCH] refactor(logger): Use better contrast for trace The current colors are barely legible --- src/components/logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/logger.cpp b/src/components/logger.cpp index bb601a4f..942e02fd 100644 --- a/src/components/logger.cpp +++ b/src/components/logger.cpp @@ -36,7 +36,7 @@ logger::make_type logger::make(loglevel level) { logger::logger(loglevel level) : m_level(level) { // clang-format off if (isatty(m_fd)) { - m_prefixes[loglevel::TRACE] = "\r\033[0;90m- "; + m_prefixes[loglevel::TRACE] = "\r\033[0;32m- \033[0m"; m_prefixes[loglevel::INFO] = "\r\033[1;32m* \033[0m"; m_prefixes[loglevel::WARNING] = "\r\033[1;33mwarn: \033[0m"; m_prefixes[loglevel::ERROR] = "\r\033[1;31merror: \033[0m";