diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/consoleinterface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys/consoleinterface.h b/src/sys/consoleinterface.h index e0228ae..6540d95 100644 --- a/src/sys/consoleinterface.h +++ b/src/sys/consoleinterface.h @@ -17,6 +17,8 @@ #define con_print sys::ConsoleInterface::instance()->messagestream() /// global define to send a warning message to the system console #define con_warn sys::ConsoleInterface::instance()->warningstream() +/// global define to send an error message to the system console +#define con_error sys::ConsoleInterface::instance()->errorstream() #ifdef HAVE_DEBUG_MESSAGES /// global define to send a debug message to the system console @@ -42,6 +44,9 @@ public: /// stream to send warning messages too virtual std::ostream & warningstream() = 0; + /// stream to send error messages too + virtual std::ostream & errorstream() = 0; + /// stream to send debug messages too virtual std::ostream & debugstream() = 0; |