systemswstubs/tiltcompensationstub/inc/common/traceconfiguration.hrh
changeset 2 ffb8e2ddd8dc
equal deleted inserted replaced
0:0ce1b5ce9557 2:ffb8e2ddd8dc
       
     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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TRACECONFIGURATION_HRH
       
    20 #define TRACECONFIGURATION_HRH
       
    21 
       
    22 //-----------------------------------------------------------------------------
       
    23 // Trace definitions
       
    24 //-----------------------------------------------------------------------------
       
    25 //
       
    26 
       
    27 /**
       
    28 * Error trace enabled
       
    29 */
       
    30 #ifdef _DEBUG
       
    31     #define ERROR_TRACE
       
    32 #else
       
    33     #undef ERROR_TRACE
       
    34 #endif
       
    35 
       
    36 /**
       
    37 * Info trace enabled
       
    38 */
       
    39 #ifdef _DEBUG
       
    40     #define INFO_TRACE
       
    41 #else
       
    42     #undef INFO_TRACE
       
    43 #endif
       
    44 
       
    45 /**
       
    46 * Function trace enabled
       
    47 */
       
    48 #undef FUNC_TRACE
       
    49 
       
    50 /**
       
    51 * Timestamp tracing on
       
    52 */
       
    53 #ifdef _DEBUG
       
    54     #define TIMESTAMP_TRACE
       
    55 #else
       
    56     #undef TIMESTAMP_TRACE
       
    57 #endif
       
    58 
       
    59 /**
       
    60 * Tracing current client process and thread
       
    61 */
       
    62 #ifdef _DEBUG
       
    63     #define CLIENT_TRACE
       
    64 #else
       
    65     #undef CLIENT_TRACE
       
    66 #endif
       
    67 
       
    68 /**
       
    69 * Tracing into file enabled, default RDebug
       
    70 */
       
    71 #undef TRACE_INTO_FILE
       
    72 
       
    73 #endif