remove obsolete HOOKS->Log
This commit is contained in:
@@ -240,9 +240,6 @@ void RageLog::Write( int where, const CString &line )
|
|||||||
if( where&WRITE_TO_INFO && g_fileInfo.IsOpen() )
|
if( where&WRITE_TO_INFO && g_fileInfo.IsOpen() )
|
||||||
g_fileInfo.PutLine( str );
|
g_fileInfo.PutLine( str );
|
||||||
|
|
||||||
if( HOOKS )
|
|
||||||
HOOKS->Log( str, where & WRITE_TO_INFO );
|
|
||||||
|
|
||||||
if( where & WRITE_TO_INFO )
|
if( where & WRITE_TO_INFO )
|
||||||
AddToInfo( str );
|
AddToInfo( str );
|
||||||
AddToRecentLogs( str );
|
AddToRecentLogs( str );
|
||||||
|
|||||||
@@ -22,9 +22,6 @@ protected:
|
|||||||
void IgnoreMessage( CString ID );
|
void IgnoreMessage( CString ID );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/* This receives all logs. 'important' is set for Warn and Info. */
|
|
||||||
virtual void Log(CString str, bool important) { }
|
|
||||||
|
|
||||||
/* This is called as soon as SDL is set up, the loading window is shown
|
/* This is called as soon as SDL is set up, the loading window is shown
|
||||||
* and we can safely log and throw. */
|
* and we can safely log and throw. */
|
||||||
virtual void DumpDebugInfo() { }
|
virtual void DumpDebugInfo() { }
|
||||||
|
|||||||
Reference in New Issue
Block a user