equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #ifndef __RDEBUGMACROS_H__ |
|
22 #define __RDEBUGMACROS_H__ |
|
23 |
|
24 #include <e32debug.h> |
|
25 |
|
26 |
|
27 //logging macros// |
|
28 #ifdef USE_RDEBUGLOGGING |
|
29 |
|
30 #define RDEBUGPRINTLOGGER1(_t) (RDebug::Print(_t)) |
|
31 #define RDEBUGPRINTLOGGER2(_t, _a) (RDebug::Print(_t, _a)) |
|
32 #define RDEBUGPRINTLOGGER3(_t, _a, _b) (RDebug::Print(_t, _a, _b)) |
|
33 |
|
34 #else |
|
35 //do nothing |
|
36 #define RDEBUGPRINTLOGGER1(_t) |
|
37 #define RDEBUGPRINTLOGGER2(_t, _a) |
|
38 #define RDEBUGPRINTLOGGER3(_t, _a, _b) |
|
39 |
|
40 #endif // USE_RDEBUGLOGGING |
|
41 |
|
42 #endif // __RDEBUGMACROS_H__ |