Stuff
public text v1 · immutablebool CLogger::IsEnabled( DebugType type )
{
#ifdef __DEBUG__
int index = (int)type;
if ( index >= 0 && index < categoryCount ) {
const CDebugCategory& cat = g_debugcats[ index ];
wxASSERT( type == cat.GetType() );
return ( cat.IsEnabled() && thePrefs::GetVerbose() );
}
wxASSERT( false );
#endif
return false;
}