74 KThumbnailLogDir, \ |
76 KThumbnailLogDir, \ |
75 KThumbnailLogFile, \ |
77 KThumbnailLogFile, \ |
76 EFileLoggingModeAppend, \ |
78 EFileLoggingModeAppend, \ |
77 _L( s ), a, b, c, d, e ); |
79 _L( s ), a, b, c, d, e ); |
78 |
80 |
|
81 #define TN_DEBUG7( s, a, b, c, d, e, f ) \ |
|
82 RFileLogger::WriteFormat( \ |
|
83 KThumbnailLogDir, \ |
|
84 KThumbnailLogFile, \ |
|
85 EFileLoggingModeAppend, \ |
|
86 _L( s ), a, b, c, d, e, f ); |
|
87 |
79 #else // LOG_TO_FILE |
88 #else // LOG_TO_FILE |
80 // |
89 // |
81 // Log to RDebug |
90 // Log to RDebug |
82 // |
91 // |
83 #define TN_DEBUG1( s ) RDebug::Print( _L( s ) ) |
92 #define TN_DEBUG1( s ) RDebug::Print( _L( s ) ) |
84 #define TN_DEBUG2( s, a ) RDebug::Print( _L( s ), a ) |
93 #define TN_DEBUG2( s, a ) RDebug::Print( _L( s ), a ) |
85 #define TN_DEBUG3( s, a, b ) RDebug::Print( _L( s ), a, b ) |
94 #define TN_DEBUG3( s, a, b ) RDebug::Print( _L( s ), a, b ) |
86 #define TN_DEBUG4( s, a, b, c ) RDebug::Print( _L( s ), a, b, c ) |
95 #define TN_DEBUG4( s, a, b, c ) RDebug::Print( _L( s ), a, b, c ) |
87 #define TN_DEBUG5( s, a, b, c, d ) RDebug::Print( _L( s ), a, b, c, d ) |
96 #define TN_DEBUG5( s, a, b, c, d ) RDebug::Print( _L( s ), a, b, c, d ) |
88 #define TN_DEBUG6( s, a, b, c, d, e ) RDebug::Print( _L( s ), a, b, c, d, e ) |
97 #define TN_DEBUG6( s, a, b, c, d, e ) RDebug::Print( _L( s ), a, b, c, d, e ) |
|
98 #define TN_DEBUG7( s, a, b, c, d, e, f ) RDebug::Print( _L( s ), a, b, c, d, e, f ) |
89 |
99 |
90 #endif // LOG_TO_FILE |
100 #endif // LOG_TO_FILE |
91 |
101 |
92 #else // _DEBUG |
102 #else // _DEBUG |
93 // |
103 // |
97 #define TN_DEBUG2( s, a ) |
107 #define TN_DEBUG2( s, a ) |
98 #define TN_DEBUG3( s, a, b ) |
108 #define TN_DEBUG3( s, a, b ) |
99 #define TN_DEBUG4( s, a, b, c ) |
109 #define TN_DEBUG4( s, a, b, c ) |
100 #define TN_DEBUG5( s, a, b, c, d ) |
110 #define TN_DEBUG5( s, a, b, c, d ) |
101 #define TN_DEBUG6( s, a, b, c, d, e ) |
111 #define TN_DEBUG6( s, a, b, c, d, e ) |
102 |
112 #define TN_DEBUG7( s, a, b, c, d, e, f ) |
103 #endif // _DEBUG |
113 #endif // _DEBUG |
104 |
114 |
105 #endif // THUMBNAILLOG_H |
115 #endif // THUMBNAILLOG_H |