emailservices/emaildebug/inc/emailtraceconfig.hrh
changeset 40 2c62ef3caffd
parent 39 b0b89ca206b5
child 41 07358540e4f9
equal deleted inserted replaced
39:b0b89ca206b5 40:2c62ef3caffd
     1 /*
       
     2 * Copyright (c) 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 "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:  Configuration header file for tracing utilities in commonemail
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef EMAILTRACECONFIG_HRH
       
    20 #define EMAILTRACECONFIG_HRH
       
    21 
       
    22 #ifndef __WINS__
       
    23 #ifdef _DEBUG
       
    24 #define ENABLE_TRACES
       
    25 #endif // _DEBUG
       
    26 #endif // __WINS__
       
    27                      
       
    28 #ifdef ENABLE_TRACES                     
       
    29 /**
       
    30 * Trace definitions
       
    31 */
       
    32 // Error trace enabled
       
    33 #define ERROR_TRACE
       
    34 
       
    35 // Info trace enabled
       
    36 #define INFO_TRACE
       
    37 
       
    38 // Function trace enabled
       
    39 #define FUNC_TRACE
       
    40 
       
    41 // Tracing into file enabled, default RDebug
       
    42 #undef TRACE_INTO_FILE
       
    43 
       
    44 #endif // ENABLE_TRACES
       
    45 
       
    46 #endif // EMAILTRACECONFIG_HRH