Commit 7da3e47d authored by gabime's avatar gabime

fixed color comment

parent 1f9f9c09
...@@ -31,11 +31,11 @@ public: ...@@ -31,11 +31,11 @@ public:
should_do_colors_ = details::os::in_terminal(file) && details::os::is_color_terminal(); should_do_colors_ = details::os::in_terminal(file) && details::os::is_color_terminal();
colors_[level::trace] = "\033[36m"; // cyan; colors_[level::trace] = "\033[36m"; // cyan;
colors_[level::debug] = "\033[36m"; // cyan; colors_[level::debug] = "\033[36m"; // cyan;
colors_[level::info] = "\033[0m";// bold; colors_[level::info] = "\033[0m";// default color;
colors_[level::warn] = "\033[33m\033[1m"; // yellow_bold; colors_[level::warn] = "\033[33m\033[1m"; // yellow_bold;
colors_[level::err] = "\033[31m\033[1m"; // red_bold; colors_[level::err] = "\033[31m\033[1m"; // red_bold;
colors_[level::critical] = "\033[1m\033[41m"; // bold_red_bg; colors_[level::critical] = "\033[1m\033[41m"; // bold_red_bg;
colors_[level::off] = "\033[0m"; //reset; colors_[level::off] = "\033[0m"; //reset to default;
} }
virtual ~ansicolor_sink() virtual ~ansicolor_sink()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment