add logging

This commit is contained in:
Chris Danford
2004-06-05 19:40:53 +00:00
parent 99e11714e5
commit 32b703fd17
+4
View File
@@ -79,6 +79,8 @@ void ProfileManager::GetLocalProfileNames( vector<CString> &asNamesOut ) const
bool ProfileManager::LoadProfile( PlayerNumber pn, CString sProfileDir, bool bIsMemCard, bool bLoadNamesOnly )
{
LOG->Trace( "LoadingProfile P%d, %s, %d, %d", pn+1, sProfileDir.c_str(), bIsMemCard, bLoadNamesOnly );
ASSERT( !sProfileDir.empty() );
ASSERT( sProfileDir.Right(1) == "/" );
@@ -90,6 +92,8 @@ bool ProfileManager::LoadProfile( PlayerNumber pn, CString sProfileDir, bool bIs
else
m_Profile[pn].LoadAllFromDir( m_sProfileDir[pn], PREFSMAN->m_bSignProfileData );
LOG->Trace( "Done loading profile." );
return true;
}