diff -r 8ab6687fb94c -r 3adadc800673 telephonyprotocols/qosextnapi/src/sblpextn.cpp --- a/telephonyprotocols/qosextnapi/src/sblpextn.cpp Thu May 27 14:05:07 2010 +0300 +++ b/telephonyprotocols/qosextnapi/src/sblpextn.cpp Fri Jun 11 14:49:29 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -14,9 +14,14 @@ // sblpapi.cpp - SBLP QoS API // + +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "sblpextnTraces.h" +#endif + #include "sblpextn.h" #include "qosextn_constants.h" -#include "qosextn_log.h" #include // Buffer size @@ -228,7 +233,7 @@ *iSblp = aSblp; - LOG( + // following code is to create logs TAuthorizationToken authToken; iSblp->GetMAT (authToken); @@ -237,22 +242,22 @@ TBuf label; label.Copy(authToken); - Log::Printf(_L("<------------------------------------------------\n")); - Log::Printf(_L("CSblpPolicy::SetSblpParameters")); - Log::Printf(_L("\n")); - Log::Printf(_L("SBLP VALUES SUPPLIED BY CLIENT IS \n")); - Log::Printf(_L("\n")); - Log::Printf(_L("[MAT string : = %S]\n"),&label); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_1, "<------------------------------------------------\n"); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_2, "CSblpPolicy::SetSblpParameters"); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_3, "\n"); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_4, "SBLP VALUES SUPPLIED BY CLIENT IS \n"); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_5, "\n"); + OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_6, "[MAT string : = %S]\n",label); TInt i; for(i=0; i\n")); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CSBLPPOLICY_SETSBLPPARAMETERS_9, "------------------------------------------------>\n"); flowIds.Close(); - ) + }