1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

refactor(logger): Use better contrast for trace

The current colors are barely legible
This commit is contained in:
patrick96 2018-08-13 17:18:03 +02:00 committed by NBonaparte
parent 0daae86fc9
commit 2a3b2b2b99

View file

@ -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";