diff options
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h index f2997ef..2227ffc 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -128,6 +128,16 @@ inline bool LocalFileExists(std::string name) return true; } +enum LogLevel +{ + Debug, + Info, + Warn, + Error, +}; + +void Log(LogLevel level, const char* fmt, ...); + struct Thread; Thread* Thread_Create(std::function<void()> func); void Thread_Free(Thread* thread); |