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