|
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: File with debuf trace definitions. |
|
15 * Part of : Tacticon Server |
|
16 */ |
|
17 |
|
18 #ifndef TACTICONTRACE_H |
|
19 #define TACTICONTRACE_H |
|
20 |
|
21 #ifdef _DEBUG |
|
22 |
|
23 #include <e32debug.h> |
|
24 |
|
25 #define TRACE( x ) RDebug::Print( _L( x ) ) |
|
26 #define TRACE2( x, y ) RDebug::Print( _L( x ), ( y ) ) |
|
27 #define TRACE3( x, y, z ) RDebug::Print( _L( x ), ( y ), ( z ) ) |
|
28 #define TRACE4( x, y, z, zz ) RDebug::Print( _L( x ), ( y ), ( z ), ( zz ) ) |
|
29 |
|
30 #else // _DEBUG |
|
31 |
|
32 #define TRACE( x ) |
|
33 #define TRACE2( x, y ) |
|
34 #define TRACE3( x, y, z ) |
|
35 #define TRACE4( x, y, z, zz ) |
|
36 |
|
37 #endif // _DEBUG |
|
38 |
|
39 #endif // TACTICONTRACE_H |
|
40 |