diff -r a60acebbbd9d -r 78ad99c24f08 photosgallery/inc/glxlog.h --- a/photosgallery/inc/glxlog.h Tue May 11 16:13:40 2010 +0300 +++ b/photosgallery/inc/glxlog.h Tue May 25 12:42:31 2010 +0300 @@ -52,7 +52,7 @@ #define GLX_DEBUG3( s, i, j ) #define GLX_DEBUG4( s, i, j, k ) #define GLX_DEBUG5( s, i, j, k, l ) - + #define GLX_LOG_URI( s, i ) #else // only include headers if logging is enabled @@ -338,6 +338,16 @@ #define GLX_DEBUG5( s, i, j, k, l ) GLX_LOG_INFO4( s, i, j, k, l ) /** + * Logs a single line of information with two parameters + * Example usage: + * CFoo::SetImageUriL(const TDesC& aFileName) { + * GLX_LOG_URI( "CFoo::SetImageUriL(%S)", &aFileName ); } + * @param s, the string to be inserted to the log, plain compile time string, not a descriptor + * @param i, the string value to be inserted to the string + */ + #define GLX_LOG_URI( s, i ) RDebug::Print( _L( s ), i ) + + /** * TRAP instrumentation for Leave */ #undef TRAP_INSTRUMENTATION_LEAVE