summaryrefslogtreecommitdiffstats
path: root/source/cMCLogger.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cMCLogger.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/cMCLogger.h b/source/cMCLogger.h
index f37c4f642..0d1770e2d 100644
--- a/source/cMCLogger.h
+++ b/source/cMCLogger.h
@@ -1,7 +1,8 @@
+
#pragma once
#ifndef _WIN32
-#include <stdarg.h>
+ #include <stdarg.h>
#endif
class cLog;
@@ -27,7 +28,7 @@ public: //tolua_export
private:
void SetColor( unsigned char a_Color );
- cCriticalSection* m_CriticalSection;
+ cCriticalSection m_CriticalSection;
cLog* m_Log;
static cMCLogger* s_MCLogger;
}; //tolua_export
@@ -35,4 +36,10 @@ private:
extern void LOG(const char* a_Format, ...);
extern void LOGINFO(const char* a_Format, ...);
extern void LOGWARN(const char* a_Format, ...);
-extern void LOGERROR(const char* a_Format, ...); \ No newline at end of file
+extern void LOGERROR(const char* a_Format, ...);
+
+#define LOGWARNING LOGWARN
+
+
+
+