mmserv/radioutility/presetutility/inc/traceconfiguration.hrh
changeset 14 80975da52420
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
       
     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 #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 * 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 * Function trace enabled
       
    65 */
       
    66 #ifdef _DEBUG
       
    67     #define FUNC_TRACE
       
    68 #else
       
    69     #undef FUNC_TRACE
       
    70 #endif
       
    71 
       
    72 /**
       
    73 * Tracing into file enabled, default RDebug
       
    74 */
       
    75 #undef TRACE_INTO_FILE
       
    76 
       
    77 #endif
       
    78