mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
add debug logger
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user