equal
deleted
inserted
replaced
53 if (pos<0) |
53 if (pos<0) |
54 pos=0; |
54 pos=0; |
55 buf.Copy(aDes.Mid(pos)); |
55 buf.Copy(aDes.Mid(pos)); |
56 buf.Append(' '); |
56 buf.Append(' '); |
57 buf.Append(aDes2); |
57 buf.Append(aDes2); |
58 RDebug::Print(buf); |
58 _LIT(KDebugFormatString, "%S"); |
|
59 RDebug::Print(KDebugFormatString, &buf); |
59 } |
60 } |
60 |
61 |
61 void CDebugLogPrint::WriteToLog8L(const TDesC8 &aDes, const TDesC8 &aDes2) |
62 void CDebugLogPrint::WriteToLog8L(const TDesC8 &aDes, const TDesC8 &aDes2) |
62 { |
63 { |
63 TBuf16<256> buf; |
64 TBuf16<256> buf; |
68 buf.Append(' '); |
69 buf.Append(' '); |
69 TInt bufLen=buf.Length(); |
70 TInt bufLen=buf.Length(); |
70 TPtr16 ptr(&buf[bufLen],buf.MaxLength()-bufLen); |
71 TPtr16 ptr(&buf[bufLen],buf.MaxLength()-bufLen); |
71 ptr.Copy(aDes2); |
72 ptr.Copy(aDes2); |
72 buf.SetLength(bufLen+aDes2.Length()); |
73 buf.SetLength(bufLen+aDes2.Length()); |
73 RDebug::Print(buf); |
74 _LIT(KDebugFormatString, "%S"); |
|
75 RDebug::Print(KDebugFormatString, &buf); |
74 } |
76 } |
75 |
77 |