*Add function Unit::OutDebugInfo for debug.
--HG-- branch : trunk
This commit is contained in:
1 parent
a944a0ea4b
commit
3fa3c8b098
4 files changed
+45
-1
No files matched your search
@@ -702,6 +702,22 @@ void Log::outDebug( const char * str, ... )
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void Log::outStringInLine( const char * str, ... )
|
||||
{
|
||||
if( !str )
|
||||
return;
|
||||
|
||||
UTF8PRINTF(stdout,str,);
|
||||
|
||||
if(logfile)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, str);
|
||||
vfprintf(logfile, str, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
||||
void Log::outCommand( uint32 account, const char * str, ... )
|
||||
{
|
||||
if( !str )
|
||||
|
||||
Reference in new issue
Block a user