|
@@ -285,8 +285,27 @@ namespace Framework
|
|
* writes a message to the std::cout.
|
|
* writes a message to the std::cout.
|
|
*
|
|
*
|
|
* \param msg the message
|
|
* \param msg the message
|
|
- * \param level the log level
|
|
|
|
- * \param location the location of the call
|
|
|
|
|
|
+ */
|
|
|
|
+ DLLEXPORT virtual void writeMessage(const Text& msg) const override;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * logs messages to OutputDebugString.
|
|
|
|
+ */
|
|
|
|
+ class OutputDebugStringLoggingChannel : public LoggingChannel
|
|
|
|
+ {
|
|
|
|
+ public:
|
|
|
|
+ /**
|
|
|
|
+ * creates a new cout logging channel.
|
|
|
|
+ *
|
|
|
|
+ */
|
|
|
|
+ DLLEXPORT OutputDebugStringLoggingChannel();
|
|
|
|
+
|
|
|
|
+ protected:
|
|
|
|
+ /**
|
|
|
|
+ * writes a message to OutputDebugString.
|
|
|
|
+ *
|
|
|
|
+ * \param msg the message
|
|
*/
|
|
*/
|
|
DLLEXPORT virtual void writeMessage(const Text& msg) const override;
|
|
DLLEXPORT virtual void writeMessage(const Text& msg) const override;
|
|
};
|
|
};
|
|
@@ -313,8 +332,6 @@ namespace Framework
|
|
* writes a message to the given ConsoleHandler.
|
|
* writes a message to the given ConsoleHandler.
|
|
*
|
|
*
|
|
* \param msg the message
|
|
* \param msg the message
|
|
- * \param level the log level
|
|
|
|
- * \param location the location of the call
|
|
|
|
*/
|
|
*/
|
|
DLLEXPORT virtual void writeMessage(const Text& msg) const override;
|
|
DLLEXPORT virtual void writeMessage(const Text& msg) const override;
|
|
};
|
|
};
|