add static logs

This commit is contained in:
Glenn Maynard
2003-01-19 05:00:21 +00:00
parent ab9f558c6e
commit 861ba219c2
4 changed files with 56 additions and 2 deletions
+12
View File
@@ -79,6 +79,18 @@ void RageLog::Trace( const char *fmt, ...)
#endif
}
/* Use this for more important information; it'll always be included
* in crash dumps. */
void RageLog::Info( const char *fmt, ...)
{
va_list va;
va_start(va, fmt);
CString sBuff = vssprintf( fmt, va );
va_end(va);
Trace("%s", sBuff);
StaticLog(sBuff);
}
void RageLog::Warn( const char *fmt, ...)
{
va_list va;