diff -r 82749d516180 -r 2eb74cf6572e imagehandlingutilities/thumbnailmanager/inc/thumbnaillog.h --- a/imagehandlingutilities/thumbnailmanager/inc/thumbnaillog.h Fri Feb 19 23:07:36 2010 +0200 +++ b/imagehandlingutilities/thumbnailmanager/inc/thumbnaillog.h Fri Mar 12 15:43:57 2010 +0200 @@ -25,6 +25,8 @@ //log to file instead of RDebug //#define LOG_TO_FILE +//#define _DEBUG + #ifdef _DEBUG #ifdef LOG_TO_FILE // @@ -76,6 +78,13 @@ EFileLoggingModeAppend, \ _L( s ), a, b, c, d, e ); +#define TN_DEBUG7( s, a, b, c, d, e, f ) \ +RFileLogger::WriteFormat( \ +KThumbnailLogDir, \ +KThumbnailLogFile, \ +EFileLoggingModeAppend, \ +_L( s ), a, b, c, d, e, f ); + #else // LOG_TO_FILE // // Log to RDebug @@ -86,6 +95,7 @@ #define TN_DEBUG4( s, a, b, c ) RDebug::Print( _L( s ), a, b, c ) #define TN_DEBUG5( s, a, b, c, d ) RDebug::Print( _L( s ), a, b, c, d ) #define TN_DEBUG6( s, a, b, c, d, e ) RDebug::Print( _L( s ), a, b, c, d, e ) +#define TN_DEBUG7( s, a, b, c, d, e, f ) RDebug::Print( _L( s ), a, b, c, d, e, f ) #endif // LOG_TO_FILE @@ -99,7 +109,7 @@ #define TN_DEBUG4( s, a, b, c ) #define TN_DEBUG5( s, a, b, c, d ) #define TN_DEBUG6( s, a, b, c, d, e ) - +#define TN_DEBUG7( s, a, b, c, d, e, f ) #endif // _DEBUG #endif // THUMBNAILLOG_H