1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Active Palette logger* |
|
15 */ |
|
16 |
|
17 |
|
18 /** |
|
19 * @file ActivePalette2Logger.h |
|
20 * Active Palette logger |
|
21 */ |
|
22 |
|
23 #ifndef _ACTIVE_PALETTE_2_LOGGER_H |
|
24 #define _ACTIVE_PALETTE_2_LOGGER_H |
|
25 |
|
26 #ifdef _DEBUG |
|
27 |
|
28 #include <e32debug.h> |
|
29 |
|
30 /// Debug logger |
|
31 #define LOGTEXT(a) { RDebug::Print(a); } |
|
32 /// Debug logger, takes 1 extra param |
|
33 #define LOGTEXT1(a,b) { RDebug::Print(a,b); } |
|
34 /// Debug logger, takes 2 extra params |
|
35 #define LOGTEXT2(a,b,c) { RDebug::Print(a,b,c); } |
|
36 /// Debug logger, takes 3 extra params |
|
37 #define LOGTEXT3(a,b,c,d) { RDebug::Print(a,b,c,d); } |
|
38 |
|
39 #else |
|
40 |
|
41 #define LOGTEXT(a) |
|
42 #define LOGTEXT1(a,b) |
|
43 #define LOGTEXT2(a,b,c) |
|
44 #define LOGTEXT3(a,b,c,d) |
|
45 |
|
46 #endif // _DEBUG |
|
47 |
|
48 #endif //_ACTIVE_PALETTE_2_LOGGER_H |
|
49 |
|
50 // End of File |
|