installationservices/swinstallationfw/common/inc/usiflog.h
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * Implements print functions for the Universal Software Install Framework components.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @internalComponent 
       
    23  @released
       
    24 */
       
    25  
       
    26 #ifndef USIFLOG_H
       
    27 #define USIFLOG_H
       
    28 
       
    29 #include <scs/securitylog.h>
       
    30 
       
    31 namespace Usif
       
    32 	{
       
    33 	 _LIT8(KComponentName, "[USIF]");
       
    34 	   
       
    35 	#define DEBUG_PRINTF(a) {SEC_DEBUG_PRINTF(KComponentName, a);}
       
    36 	#define DEBUG_PRINTF2(a, b) {SEC_DEBUG_PRINTF2(KComponentName, a, b);}
       
    37 	#define DEBUG_PRINTF3(a, b, c) {SEC_DEBUG_PRINTF3(KComponentName, a, b, c);}
       
    38 	#define DEBUG_PRINTF4(a, b, c, d) {SEC_DEBUG_PRINTF4(KComponentName, a, b, c, d);}
       
    39 	#define DEBUG_PRINTF5(a, b, c, d, e) {SEC_DEBUG_PRINTF5(KComponentName, a, b, c, d, e);}
       
    40 	
       
    41 	#define DEBUG_CODE_SECTION(a) {SEC_DEBUG_CODE_SECTION(a);}
       
    42 	 
       
    43 	}	// End of namespace StreamAccess
       
    44 
       
    45 #endif // USIFLOG_H