forked from lix-project/lix
Show "warning:" in yellow instead of red
This commit is contained in:
parent
7be1a07a45
commit
c5319e5d0b
|
@ -21,7 +21,7 @@ Logger * logger = makeDefaultLogger();
|
|||
|
||||
void Logger::warn(const std::string & msg)
|
||||
{
|
||||
log(lvlWarn, ANSI_RED "warning:" ANSI_NORMAL " " + msg);
|
||||
log(lvlWarn, ANSI_YELLOW "warning:" ANSI_NORMAL " " + msg);
|
||||
}
|
||||
|
||||
class SimpleLogger : public Logger
|
||||
|
|
|
@ -429,6 +429,7 @@ void ignoreException();
|
|||
#define ANSI_FAINT "\e[2m"
|
||||
#define ANSI_RED "\e[31;1m"
|
||||
#define ANSI_GREEN "\e[32;1m"
|
||||
#define ANSI_YELLOW "\e[33;1m"
|
||||
#define ANSI_BLUE "\e[34;1m"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue