* Implement Log::outString that takes no arguments and just prints \n - on request from megamage (makes MaNGOS merging easier).
--HG-- branch : trunk
This commit is contained in:
1 parent
aad61f777c
commit
6f4ba8bb0d
2 files changed
+13
No files matched your search
@@ -404,6 +404,18 @@ void Log::outString( const char * str, ... )
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void Log::outString( )
|
||||
{
|
||||
printf( "\n" );
|
||||
if(logfile)
|
||||
{
|
||||
outTimestamp(logfile);
|
||||
fprintf(logfile, "\n" );
|
||||
fflush(logfile);
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void Log::outCrash( const char * err, ... )
|
||||
{
|
||||
if( !err )
|
||||
|
||||
Reference in new issue
Block a user