emailservices/emaildebug/inc/emailtraceconfig.hrh
changeset 0 8466d47a6819
child 8 e1b6206813b4
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     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 // Tracing into c:/cmail_<thread-name>.txt. File replaced when predefined 
       
    45 // line count is reached
       
    46 #undef TRACE_FILE_LIMIT_SIZE
       
    47 
       
    48 #endif // ENABLE_TRACES
       
    49 
       
    50 #endif // EMAILTRACECONFIG_HRH