diff -r c2817bb2a55c -r cb506ec2d869 contentpublishingsrv/contentpublishingutils/contentpublishingdebug/src/cpdebug.cpp --- a/contentpublishingsrv/contentpublishingutils/contentpublishingdebug/src/cpdebug.cpp Wed Mar 31 13:30:40 2010 +0300 +++ b/contentpublishingsrv/contentpublishingutils/contentpublishingdebug/src/cpdebug.cpp Wed May 12 13:35:37 2010 +0300 @@ -37,7 +37,7 @@ iData->iFileName = aFile; Dll::SetTls( iData ); User::LeaveIfError( iData->iFs.Connect( ) ); - EnableLogging( ETrue ); + EnableLogging( EFalse ); } // --------------------------------------------------------------------------- @@ -161,6 +161,25 @@ // // --------------------------------------------------------------------------- // +EXPORT_C void CCPDebug::ExtendedPrint( const char* aStringParam, + const CLiwGenericParamList& aInParamList ) + { + RDebug::Printf( "CPS Client::Request %s Parameters: \n", aStringParam ); + for ( TInt i = 0; i < aInParamList.Count( ); i++ ) + { + TLiwGenericParam tempParam; + tempParam.PushL(); + TRAP_IGNORE( aInParamList.AtL(i ,tempParam) ); + Dump( tempParam.Value() ); + CleanupStack::Pop(&tempParam); + tempParam.Reset(); + } + } + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// EXPORT_C DebugData* CCPDebug::Data() { return static_cast(Dll::Tls());