|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #if defined(__TRKLOGGING__) |
|
19 |
|
20 #include <e32debug.h> |
|
21 |
|
22 #define LOG_MSG( a ) RDebug::Printf( a ) |
|
23 #define LOG_MSG2( a, b ) RDebug::Printf( a, b ) |
|
24 #define LOG_MSG3( a, b, c ) RDebug::Printf( a, b, c ) |
|
25 #define LOG_MSG4( a, b, c, d ) RDebug::Printf( a, b, c, d ) |
|
26 #define LOG_MSG5( a, b, c, d, e ) RDebug::Printf( a, b, c, d, e ) |
|
27 #define LOG_MSG6( a, b, c, d, e, f ) RDebug::Printf( a, b, c, d, e, f ) |
|
28 |
|
29 #else |
|
30 |
|
31 #define LOG_MSG( a ) |
|
32 #define LOG_MSG2( a, b ) |
|
33 #define LOG_MSG3( a, b, c ) |
|
34 #define LOG_MSG4( a, b, c, d ) |
|
35 #define LOG_MSG5( a, b, c, d, e ) |
|
36 #define LOG_MSG6( a, b, c, d, e, f ) |
|
37 |
|
38 #endif |