/*
* Component Name: Headset Simulator
* Author: Comarch S.A.
* Version: 1.0
* Copyright (c) 2010 Comarch S.A.
*
* This Software is submitted by Comarch S.A. to Symbian Foundation Limited on
* the basis of the Member Contribution Agreement entered between Comarch S.A.
* and Symbian Foundation Limited on 5th June 2009 (“Agreement”) and may be
* used only in accordance with the terms and conditions of the Agreement.
* Any other usage, duplication or redistribution of this Software is not
* allowed without written permission of Comarch S.A.
*
*/
#ifndef HS_DEBUGCONFIG_H
#define HS_DEBUGCONFIG_H
#include "prjconfig.h"
/**
* Custom logging variations.
*/
#ifdef PRJ_FILE_TRACE
_LIT(KLogFile,"HS.txt");
_LIT(KLogDir,"HeadsetSimulator");
#endif
#ifdef PRJ_ENABLE_TRACE
_LIT(KTracePrefix16, "[ HS ] ");
_LIT8(KTracePrefix8, "[ HS ] ");
_LIT8(KFuncFormat8, "><%S");
_LIT8(KFuncThisFormat8, "><%S, [0x%08X]");
_LIT8(KFuncEntryFormat8, ">%S");
_LIT8(KFuncEntryThisFormat8, ">%S, [0x%08X]");
_LIT8(KFuncExitFormat8, "<%S");
_LIT8(KPanicPrefix8, "PANIC code ");
_LIT8(KLeavePrefix8, "LEAVE code ");
#endif
//needed??
_LIT(KPanicCategory, "HeadsetSimulator"); // need it also for release
const TInt KMaxLogLineLength = 512;
#define KPRINTERROR 0x00000001 // Tracing level: error
#define KPRINTINFO 0x00000002 // Tracing level: function trace
#define KPRINTSTATE 0x00000004 // Tracing level: state machine info
#define KPRINTWARNING 0x00000008 // Tracing level: warning
const TInt KTraceMask = KPRINTERROR | KPRINTINFO | KPRINTSTATE | KPRINTWARNING;
#endif // HS_DEBUGCONFIG_H