non-code change to make debugging easier

This commit is contained in:
ehouse 2008-01-07 01:17:42 +00:00
parent c6d20489b4
commit 174e5a8a9e

View file

@ -812,11 +812,15 @@ logToMemo( const char* buf )
static void
logToFile( const char* buf )
{
#if 0
logToDB( buf, LOGFILE, 'XWLG', 'TEXT' );
#else
UInt32 val = 0L;
Err err = FtrGet( APPID, LOG_FILE_FEATURE, (UInt32*)&val );
if ( errNone == err && val != 0 ) {
logToDB( buf, LOGFILE, 'XWLG', 'TEXT' );
}
#endif
}
void