startupservices/Startup/syserrcmd/tsrc/syserrcmdtest/inc/traceconfiguration.hrh
branchRCL_3
changeset 19 924385140d98
parent 18 0818dd463d41
child 20 c2c61fdca848
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
     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: 
       
    15 * Trace Macro Configurations.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef TRACECONFIGURATION_HRH
       
    21 #define TRACECONFIGURATION_HRH
       
    22 
       
    23 //-----------------------------------------------------------------------------
       
    24 // Trace definitions
       
    25 //-----------------------------------------------------------------------------
       
    26 //
       
    27 
       
    28 /**
       
    29 * Error trace enabled
       
    30 */
       
    31 #ifdef _DEBUG
       
    32     #define ERROR_TRACE
       
    33 #else
       
    34     #undef ERROR_TRACE
       
    35 #endif
       
    36 
       
    37 /**
       
    38 * Info trace enabled
       
    39 */
       
    40 #ifdef _DEBUG
       
    41     #define INFO_TRACE
       
    42 #else
       
    43     #undef INFO_TRACE
       
    44 #endif
       
    45 
       
    46 /**
       
    47 * Timestamp tracing on
       
    48 */
       
    49 #ifdef _DEBUG
       
    50     #define TIMESTAMP_TRACE
       
    51 #else
       
    52     #undef TIMESTAMP_TRACE
       
    53 #endif
       
    54 
       
    55 /**
       
    56 * Tracing current client process and thread
       
    57 */
       
    58 #ifdef _DEBUG
       
    59     #define CLIENT_TRACE
       
    60 #else
       
    61     #undef CLIENT_TRACE
       
    62 #endif
       
    63 
       
    64 /**
       
    65 * Function trace enabled
       
    66 */
       
    67 #ifdef _DEBUG
       
    68     #define FUNC_TRACE
       
    69 #else
       
    70     #undef FUNC_TRACE
       
    71 #endif
       
    72 
       
    73 /**
       
    74 * Tracing into file enabled, default RDebug
       
    75 */
       
    76 #undef TRACE_INTO_FILE
       
    77 
       
    78 #endif
       
    79