add debug logger

This commit is contained in:
nillerusr
2022-07-06 18:17:09 +03:00
parent b3ef8242db
commit dc5774a698
3 changed files with 90 additions and 7 deletions
+8
View File
@@ -48,6 +48,14 @@
class Color;
class IDbgLogger
{
public:
virtual void Init(const char *logfile) = 0;
virtual void Write(const char *data) = 0;
};
PLATFORM_INTERFACE IDbgLogger *DebugLogger();
//-----------------------------------------------------------------------------
// Usage model for the Dbg library