bluetoothengine/headsetsimulator/remotecontroller/inc/debugconfig.h
branchheadsetsimulator
changeset 60 90dbfc0435e3
equal deleted inserted replaced
59:02103bf20ee5 60:90dbfc0435e3
       
     1 /*
       
     2  * Component Name: Headset Simulator
       
     3  * Author: Comarch S.A.
       
     4  * Version: 1.0
       
     5  * Copyright (c) 2010 Comarch S.A.
       
     6  *  
       
     7  * This Software is submitted by Comarch S.A. to Symbian Foundation Limited on 
       
     8  * the basis of the Member Contribution Agreement entered between Comarch S.A. 
       
     9  * and Symbian Foundation Limited on 5th June 2009 (“Agreement”) and may be 
       
    10  * used only in accordance with the terms and conditions of the Agreement. 
       
    11  * Any other usage, duplication or redistribution of this Software is not 
       
    12  * allowed without written permission of Comarch S.A.
       
    13  * 
       
    14  */
       
    15 
       
    16 #ifndef HS_RC_DEBUGCONFIG_H
       
    17 #define HS_RC_DEBUGCONFIG_H
       
    18 
       
    19 #include "prjconfig.h"
       
    20 
       
    21 /**
       
    22  * Custom logging variations.
       
    23  */
       
    24 #ifdef PRJ_FILE_TRACE
       
    25 _LIT(KLogFile,"HS RC.txt");
       
    26 _LIT(KLogDir,"HeadsetSimulator RC");
       
    27 #endif
       
    28 
       
    29 #ifdef PRJ_ENABLE_TRACE
       
    30 _LIT(KTracePrefix16, "[HS RC] ");
       
    31 _LIT8(KTracePrefix8, "[HS RC] ");
       
    32 _LIT8(KFuncFormat8, "><%S");
       
    33 _LIT8(KFuncThisFormat8, "><%S, [0x%08X]");
       
    34 _LIT8(KFuncEntryFormat8, ">%S");
       
    35 _LIT8(KFuncEntryThisFormat8, ">%S, [0x%08X]");
       
    36 _LIT8(KFuncExitFormat8, "<%S");
       
    37 
       
    38 _LIT8(KPanicPrefix8, "PANIC code ");
       
    39 _LIT8(KLeavePrefix8, "LEAVE code ");
       
    40 #endif
       
    41 
       
    42 _LIT(KPanicCategory, "HeadsetSimulator RC"); // need it also for release 
       
    43 
       
    44 const TInt KMaxLogLineLength = 512;
       
    45 
       
    46 #define KPRINTERROR        0x00000001 // Tracing level: error
       
    47 #define KPRINTINFO        0x00000002 // Tracing level: function trace
       
    48 #define KPRINTSTATE        0x00000004 // Tracing level: state machine info
       
    49 #define KPRINTWARNING   0x00000008 // Tracing level: warning
       
    50 const TInt KTraceMask = KPRINTERROR | KPRINTINFO | KPRINTSTATE | KPRINTWARNING;
       
    51 
       
    52 #endif // HS_RC_DEBUGCONFIG_H