diff options
| author | XTZGZoReX <none@none> | 2009-03-25 15:55:00 +0100 | 
|---|---|---|
| committer | XTZGZoReX <none@none> | 2009-03-25 15:55:00 +0100 | 
| commit | 6f4ba8bb0d794c253b5b15793615cbfd272acc0c (patch) | |
| tree | cca4b07b81a2a86ada053d8f3d0b68eb075768ea /src/shared/Log.cpp | |
| parent | aad61f777c5f15d77565852f27cec35d732dc655 (diff) | |
* Implement Log::outString that takes no arguments and just prints \n - on request from megamage (makes MaNGOS merging easier).
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Log.cpp')
| -rw-r--r-- | src/shared/Log.cpp | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shared/Log.cpp b/src/shared/Log.cpp index 401394af1a5..e79ea12933d 100644 --- a/src/shared/Log.cpp +++ b/src/shared/Log.cpp @@ -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 )  | 
