From 2568bad3cc1ae70350f5ad31e97b4c13194e437e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 1 Feb 2012 13:43:47 +0000 Subject: sprintf() begone! Replaced with StringUtils' Printf() git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cLog.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'source/cLog.h') 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 + #include #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 + + + + -- cgit v1.2.3