pimappservices/calendar/shared/src/agmdebug.cpp
branchGCC_SURGE
changeset 39 5c778154cc1d
parent 18 c198609911f9
equal deleted inserted replaced
38:871fa3ede3a0 39:5c778154cc1d
    24 #if defined(_DEBUG)
    24 #if defined(_DEBUG)
    25 const TInt KMaxLogLength = 0x100;
    25 const TInt KMaxLogLength = 0x100;
    26 
    26 
    27 EXPORT_C void AgmDebug::DebugLog(const char* aFmt,...)
    27 EXPORT_C void AgmDebug::DebugLog(const char* aFmt,...)
    28 	{
    28 	{
    29 	VA_LIST list = {NULL};
    29 	VA_LIST list;
    30 	VA_START(list,aFmt);
    30 	VA_START(list,aFmt);
    31 
    31 
    32 	TPtrC8 fmt8((const TText8*)aFmt);
    32 	TPtrC8 fmt8((const TText8*)aFmt);
    33 		
    33 		
    34 	TBuf<KMaxLogLength> fmt16;
    34 	TBuf<KMaxLogLength> fmt16;
    47 		}
    47 		}
    48 	}
    48 	}
    49 
    49 
    50 EXPORT_C void AgmDebug::DebugLogTimeStampL(const char* aFmt,...)
    50 EXPORT_C void AgmDebug::DebugLogTimeStampL(const char* aFmt,...)
    51 	{
    51 	{
    52 	VA_LIST list = {NULL};
    52 	VA_LIST list;
    53 	VA_START(list,aFmt);
    53 	VA_START(list,aFmt);
    54 
    54 
    55 	TPtrC8 fmt8((const TText8*)aFmt);
    55 	TPtrC8 fmt8((const TText8*)aFmt);
    56 		
    56 		
    57 	TBuf<KMaxLogLength> fmt16;
    57 	TBuf<KMaxLogLength> fmt16;