Skip to content
Snippets Groups Projects
Commit 289ca0c0 authored by Łukasz Matysiak's avatar Łukasz Matysiak
Browse files

Rename CONSOLE_MESSAGE_COLOR to CONSOLE_RED_MESSAGE_COLOR

parent 1272e1b8
No related branches found
No related tags found
No related merge requests found
......@@ -31,19 +31,19 @@
void Printer::printStatus(std::string statusMsg) const
{
std::cout << CONSOLE_MESSAGE_COLOR << "> "
std::cout << CONSOLE_RED_MESSAGE_COLOR << "> "
<< CONSOLE_COLOR_RESET << statusMsg << std::endl;
}
void Printer::printError(std::string errorMsg) const
{
std::cout << CONSOLE_MESSAGE_COLOR << "Error: "
std::cout << CONSOLE_RED_MESSAGE_COLOR << "Error: "
<< CONSOLE_COLOR_RESET << errorMsg << std::endl;
}
void Printer::printWarning(std::string warningMsg) const
{
std::cout << CONSOLE_MESSAGE_COLOR << "Warning: "
std::cout << CONSOLE_RED_MESSAGE_COLOR << "Warning: "
<< CONSOLE_COLOR_RESET << warningMsg << std::endl;
}
......
......@@ -54,7 +54,7 @@ private:
void printLine() const;
const char* CONSOLE_COLOR_RESET {"\033[m"};
const char* CONSOLE_MESSAGE_COLOR {"\033[1m\033[31m"};
const char* CONSOLE_RED_MESSAGE_COLOR {"\033[1m\033[31m"};
const char* CONSOLE_TEXT_OUTPUT_COLOR {"\033[0;32m"};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment