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: QoS features logging facilities |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MCCQOSLOGGING_H |
|
22 #define MCCQOSLOGGING_H |
|
23 |
|
24 |
|
25 #include "mcclogs.h" |
|
26 |
|
27 #ifdef _DEBUG |
|
28 |
|
29 #define __MCC_QOSLOG |
|
30 |
|
31 #endif |
|
32 |
|
33 #ifdef __MCC_QOSLOG |
|
34 |
|
35 _LIT( KQosLogging, "Mcc/QosLog: " ); |
|
36 |
|
37 #define __QOSLOG( a ) \ |
|
38 { _LIT( KStr, a ); TMccLog::Print( KQosLogging, KStr ); } |
|
39 |
|
40 #define __QOSLOG_INT1( a, b ) \ |
|
41 { _LIT( KStr, a ); TMccLog::Print( KQosLogging, KStr, b ); } |
|
42 |
|
43 #else |
|
44 |
|
45 #define __QOSLOG(a) |
|
46 #define __QOSLOG_INT1(a, b) |
|
47 |
|
48 #endif |
|
49 |
|
50 #endif // MCCQOSLOGGING_H |