Commit 03f152bb authored by Xavier Fabian's avatar Xavier Fabian
Browse files

updating color scheme in the ADFLogCollector so that it is readable on both...

updating color scheme in the ADFLogCollector so that it is readable on both black on white and white on black terminal color prefs.

git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@2243 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent b4309915
......@@ -30,15 +30,26 @@ using namespace ADF;
namespace
{
// Errors and Warning are now highlighted so that there are visible on
// both "black on white" and "white on black" terminal color prefs.
const std::string COLOR_RESET = "\033[0m";
const std::string COLOR_FG_HEADER_ERROR = "\033[1;31m";
//const std::string COLOR_FG_HEADER_ERROR = "\033[1;31m";
const std::string COLOR_FG_HEADER_ERROR = "\033[1;41m\033[1m";
const std::string COLOR_FG_HEADER_INFO = "\033[1;32m";
const std::string COLOR_FG_HEADER_WARNING = "\033[1;33m";
//const std::string COLOR_FG_HEADER_WARNING = "\033[1;33m";
const std::string COLOR_FG_HEADER_WARNING = "\033[43m\033[1m";
const std::string COLOR_FG_FOOTER_ERROR = "\033[31m";
//const std::string COLOR_FG_FOOTER_ERROR = "\033[31m";
const std::string COLOR_FG_FOOTER_ERROR = "\033[41m";
const std::string COLOR_FG_FOOTER_INFO = "\033[32m";
const std::string COLOR_FG_FOOTER_WARNING = "\033[33m";
//const std::string COLOR_FG_FOOTER_WARNING = "\033[33m";
const std::string COLOR_FG_FOOTER_WARNING = "\033[43m";
}
LogCollector::LogCollector(const char *name, bool isdelbycental) :
......
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