Add phrase for info

This commit is contained in:
Martchus 2017-11-27 10:24:44 +01:00
parent 3051675bbe
commit fe3929c340
2 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,12 @@ std::ostream &operator<<(std::ostream &stream, Phrases phrase)
setStyle(stream, TextAttribute::Reset);
stream << std::endl;
break;
case Phrases::Info:
setStyle(stream, Color::Blue, ColorContext::Foreground, TextAttribute::Bold);
stream << "Info: ";
setStyle(stream, TextAttribute::Reset);
setStyle(stream, TextAttribute::Bold);
break;
}
return stream;
}

View File

@ -132,6 +132,7 @@ enum class Phrases {
ErrorMessage, /**< bold, red "==> ERROR: " */
WarningMessage, /**< bold, yellow "==> WARNING: " */
EndFlush, /**< resets the style and flushes the stream */
Info, /**< bold, blue "Info: " */
};
CPP_UTILITIES_EXPORT std::ostream &operator<<(std::ostream &stream, Phrases phrase);