mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Show "warning:" in yellow instead of red
This commit is contained in:
parent
7be1a07a45
commit
c5319e5d0b
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue