equal
deleted
inserted
replaced
|
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: Print debug log |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef DEVTOKENLOG_H |
|
21 #define DEVTOKENLOG_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 |
|
26 #ifdef _DEBUG |
|
27 #include <e32svr.h> |
|
28 #define TRACE_PRINT( aText ) { RDebug::Print( _L(aText) ); } |
|
29 #define TRACE_PRINT_NUM( aText, aNum ) \ |
|
30 { RDebug::Print( _L(aText), aNum ); } |
|
31 #define TRACE_PRINT_RAW( aBuf ) { RDebug::RawPrint( aBuf ); } |
|
32 |
|
33 #else |
|
34 |
|
35 #define TRACE_PRINT( aText ) |
|
36 #define TRACE_PRINT_NUM( aText, aNum ) |
|
37 #define TRACE_PRINT_RAW( aBuf ) |
|
38 #endif |
|
39 |
|
40 #endif //DEVTOKENLOG_H |
|
41 //EOF |