natfw/natfwstunturnclient/inc/stunturnclientlogs.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2006 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 "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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef STUNTURNCLIENTLOGS_H
       
    22 #define STUNTURNCLIENTLOGS_H
       
    23 
       
    24 
       
    25 #include "natfwlogs.h"
       
    26 
       
    27 #ifdef _DEBUG
       
    28     #define __NATFW_STUNTURNCLIENT
       
    29 #endif
       
    30 
       
    31 #ifdef __NATFW_STUNTURNCLIENT
       
    32     _LIT(KSTUNTURNClient, "STUNClient:");
       
    33 
       
    34     #define __STUNTURNCLIENT(a) \
       
    35         {  _LIT( KStr, a); TNATFWLog::Print( KSTUNTURNClient, KStr ); }
       
    36     #define __STUNTURNCLIENT_INT1(a, b) \
       
    37         {  _LIT( KStr, a); TNATFWLog::Print( KSTUNTURNClient, KStr, b); }
       
    38     #define __STUNTURNCLIENT_INT2(a, b, c, d) \
       
    39         { _LIT( KStr1, a); _LIT( KStr2, c); \
       
    40           TNATFWLog::Print( KSTUNTURNClient, KStr1, b, KStr2, d); }
       
    41     #define __STUNTURNCLIENT_STR(a, b) \
       
    42         { _LIT( KStr, a); TNATFWLog::Print( KSTUNTURNClient, KStr, b); }
       
    43     #define __STUNTURNCLIENT_STR8(a, b) \
       
    44         { _LIT( KStr, a); TNATFWLog::Print( KSTUNTURNClient, KStr, b); }
       
    45 #else
       
    46     #define __STUNTURNCLIENT(a)
       
    47     #define __STUNTURNCLIENT_INT1(a, b)
       
    48     #define __STUNTURNCLIENT_INT2(a, b, c, d)
       
    49     #define __STUNTURNCLIENT_STR(a, b)
       
    50     #define __STUNTURNCLIENT_STR8(a, b)
       
    51 #endif
       
    52 
       
    53 #endif // STUNTURNCLIENTLOGS_H