sl@0
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// Implements print functions for streaming caf component.
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
/**
|
sl@0
|
19 |
@file
|
sl@0
|
20 |
@internalComponent
|
sl@0
|
21 |
@released
|
sl@0
|
22 |
*/
|
sl@0
|
23 |
|
sl@0
|
24 |
#ifndef SCAFLOG_H
|
sl@0
|
25 |
#define SCAFLOG_H
|
sl@0
|
26 |
|
sl@0
|
27 |
#include "securitylog.h"
|
sl@0
|
28 |
|
sl@0
|
29 |
namespace StreamAccess
|
sl@0
|
30 |
{
|
sl@0
|
31 |
_LIT8(KComponentName, "[SCAF]");
|
sl@0
|
32 |
|
sl@0
|
33 |
#define DEBUG_PRINTF(a) {SEC_DEBUG_PRINTF(KComponentName, a);}
|
sl@0
|
34 |
#define DEBUG_PRINTF2(a, b) {SEC_DEBUG_PRINTF2(KComponentName, a, b);}
|
sl@0
|
35 |
#define DEBUG_PRINTF3(a, b, c) {SEC_DEBUG_PRINTF3(KComponentName, a, b, c);}
|
sl@0
|
36 |
#define DEBUG_PRINTF4(a, b, c, d) {SEC_DEBUG_PRINTF4(KComponentName, a, b, c, d);}
|
sl@0
|
37 |
#define DEBUG_PRINTF5(a, b, c, d, e) {SEC_DEBUG_PRINTF5(KComponentName, a, b, c, d, e);}
|
sl@0
|
38 |
|
sl@0
|
39 |
#define DEBUG_CODE_SECTION(a) {SEC_DEBUG_CODE_SECTION(a);}
|
sl@0
|
40 |
|
sl@0
|
41 |
} // End of namespace StreamAccess
|
sl@0
|
42 |
|
sl@0
|
43 |
#endif // SCAFLOG_H
|