Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface
diff options
context:
space:
mode:
2 files changed, 7 insertions, 2 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.cpp8
-rw-r--r--src/ConsoleInterface/Toolbox.hpp1
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp
index fbc7806..4237861 100644
--- a/src/ConsoleInterface/Toolbox.cpp
+++ b/src/ConsoleInterface/Toolbox.cpp
@@ -25,10 +25,14 @@ void printTitle(const char* title) {
}
void printSuccess(const char* message) {
- std::cout << "... " << message << std::endl;
+ std::cout << "<S> " << message << std::endl;
+}
+
+void printWarning(const char* message) {
+ std::cout << "<W>" << message << std::endl;
}
void printError(const char* message) {
- std::cout << "!!! Err: " << message << std::endl;
+ std::cout << "<E> " << message << std::endl;
}
diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp
index b75b597..9bfba55 100644
--- a/src/ConsoleInterface/Toolbox.hpp
+++ b/src/ConsoleInterface/Toolbox.hpp
@@ -58,6 +58,7 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth);
void printTitle(const char* title);
void printSuccess(const char* message);
+void printWarning(const char* message);
void printError(const char* message);
#endif