summaryrefslogtreecommitdiffstats
path: root/source/cLog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cLog.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/source/cLog.h b/source/cLog.h
index b2292ba7b..b218580ce 100644
--- a/source/cLog.h
+++ b/source/cLog.h
@@ -4,19 +4,21 @@
#include "FileDefine.h"
#ifndef _WIN32
-#include <stdarg.h>
+ #include <stdarg.h>
#endif
-class cLog { // tolua_export
+
+
+
+
+class cLog
+{ // tolua_export
private:
- FILE* m_File;
- static cLog* s_Log;
+ FILE * m_File;
+ static cLog * s_Log;
-#ifdef _WIN32
- typedef char* va_list;
-#endif
public:
- cLog( const char* a_FileName );
+ cLog(const AString & a_FileName);
~cLog();
void Log(const char* a_Format, va_list argList );
void Log(const char* a_Format, ...);
@@ -28,3 +30,7 @@ public:
static cLog* GetInstance();
};
//tolua_end
+
+
+
+