diff -r e4c884866116 -r 6a40edd41841 logsui/inc/logslogger.h --- a/logsui/inc/logslogger.h Fri Sep 17 08:29:34 2010 +0300 +++ b/logsui/inc/logslogger.h Mon Oct 04 00:17:41 2010 +0300 @@ -41,7 +41,6 @@ #else // debug build; logs - const char logsDebugPrefix[] = "Debug: "; const char logsWarningPrefix[] = "Warning: "; const char logsCriticalPrefix[] = "Critical: "; @@ -57,6 +56,8 @@ const char logsLogFile[] = "C:/logs/logsapp/logsappdebug.txt";// Logs application log filename. +#define LOGS_DEBUG_ENABLED + #define LOGS_QDEBUG( a )\ qDebug() << a; @@ -105,20 +106,6 @@ #define LOGS_QDEBUG_EVENT_ARR( arr ) #endif -// File logging can be disabled by commenting definition below. -#define LOGS_FILE_LOGGING_ENABLED - -#if ( defined __WINSCW__ ) || ( defined __WINS__ ) -// No sense to have file logging enabled in wins -#undef LOGS_FILE_LOGGING_ENABLED -#endif - -#ifdef LOGS_FILE_LOGGING_ENABLED -const bool logsFileLoggingEnabled = ETrue; -#else -const bool logsFileLoggingEnabled = EFalse; -#endif - #endif