|
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 the License "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 // Implements print functions for streaming caf component. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 @released |
|
22 */ |
|
23 |
|
24 #ifndef SCAFLOG_H |
|
25 #define SCAFLOG_H |
|
26 |
|
27 #include "securitylog.h" |
|
28 |
|
29 namespace StreamAccess |
|
30 { |
|
31 _LIT8(KComponentName, "[SCAF]"); |
|
32 |
|
33 #define DEBUG_PRINTF(a) {SEC_DEBUG_PRINTF(KComponentName, a);} |
|
34 #define DEBUG_PRINTF2(a, b) {SEC_DEBUG_PRINTF2(KComponentName, a, b);} |
|
35 #define DEBUG_PRINTF3(a, b, c) {SEC_DEBUG_PRINTF3(KComponentName, a, b, c);} |
|
36 #define DEBUG_PRINTF4(a, b, c, d) {SEC_DEBUG_PRINTF4(KComponentName, a, b, c, d);} |
|
37 #define DEBUG_PRINTF5(a, b, c, d, e) {SEC_DEBUG_PRINTF5(KComponentName, a, b, c, d, e);} |
|
38 |
|
39 #define DEBUG_CODE_SECTION(a) {SEC_DEBUG_CODE_SECTION(a);} |
|
40 |
|
41 } // End of namespace StreamAccess |
|
42 |
|
43 #endif // SCAFLOG_H |