diff --git a/io/ansiescapecodes.cpp b/io/ansiescapecodes.cpp index 5f96abb..e42ff33 100644 --- a/io/ansiescapecodes.cpp +++ b/io/ansiescapecodes.cpp @@ -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; } diff --git a/io/ansiescapecodes.h b/io/ansiescapecodes.h index eb84966..a90c9bb 100644 --- a/io/ansiescapecodes.h +++ b/io/ansiescapecodes.h @@ -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);