1 /* |
1 /* |
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007i-2010 Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
68 inline static void HexDump(const TText* aHeader, const TText* aMargin, |
68 inline static void HexDump(const TText* aHeader, const TText* aMargin, |
69 const TUint8* aPtr, TInt aLen); |
69 const TUint8* aPtr, TInt aLen); |
70 }; |
70 }; |
71 |
71 |
72 // MACROS |
72 // MACROS |
|
73 #define CAMESE_LOG_DEF(a) a |
73 #define CAMESE_LOG_TDES(fmt) CameseLog::Printf1(fmt) |
74 #define CAMESE_LOG_TDES(fmt) CameseLog::Printf1(fmt) |
74 #define CAMESE_LOG(fmt) CameseLog::Printf1(_L(fmt)) |
75 #define CAMESE_LOG(fmt) CameseLog::Printf1(_L(fmt)) |
75 #define CAMESE_LOG1(fmt,v1) CameseLog::Printf(_L(fmt),v1) |
76 #define CAMESE_LOG1(fmt,v1) CameseLog::Printf(_L(fmt),v1) |
76 #define CAMESE_LOG2(fmt,v1,v2) CameseLog::Printf(_L(fmt),v1,v2) |
77 #define CAMESE_LOG2(fmt,v1,v2) CameseLog::Printf(_L(fmt),v1,v2) |
77 #define CAMESE_LOG3(fmt,v1,v2,v3) CameseLog::Printf(_L(fmt),v1,v2,v3) |
78 #define CAMESE_LOG3(fmt,v1,v2,v3) CameseLog::Printf(_L(fmt),v1,v2,v3) |
103 |
104 |
104 #include "cameselog.inl" |
105 #include "cameselog.inl" |
105 |
106 |
106 #else |
107 #else |
107 |
108 |
|
109 #define CAMESE_LOG_DEF(a) |
108 #define CAMESE_LOG_TDES(fmt) |
110 #define CAMESE_LOG_TDES(fmt) |
109 #define CAMESE_LOG(fmt) |
111 #define CAMESE_LOG(fmt) |
110 #define CAMESE_LOG1(fmt,v1) |
112 #define CAMESE_LOG1(fmt,v1) |
111 #define CAMESE_LOG2(fmt,v1,v2) |
113 #define CAMESE_LOG2(fmt,v1,v2) |
112 #define CAMESE_LOG3(fmt,v1,v2,v3) |
114 #define CAMESE_LOG3(fmt,v1,v2,v3) |
113 #define CAMESE_HEX_DUMP(h, m, p, l) |
115 #define CAMESE_HEX_DUMP(h, m, p, l) |
114 #define CAMESE_LOG8(fmt) |
116 #define CAMESE_LOG8(fmt) |
115 #define CAMESE_LOG8_1(fmt,v1) |
117 #define CAMESE_LOG8_1(fmt,v1) |
116 #define CAMESE_LOG8_2(fmt,v1,v2) |
118 #define CAMESE_LOG8_2(fmt,v1,v2) |
117 #define CAMESE_LOG8_3(fmt,v1,v2,v3) |
119 #define CAMESE_LOG8_3(fmt,v1,v2,v3) |
118 |
120 |
119 #endif |
121 #endif |
120 #endif // CAMESELOG_H |
122 #endif // CAMESELOG_H |
121 |
123 |