|
1 /* |
|
2 * Copyright (c) 2006-2006 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: Context Framework trace configurations. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CFTRACECONFIGURATION_HRH |
|
21 #define CFTRACECONFIGURATION_HRH |
|
22 |
|
23 /** |
|
24 * Trace definitions |
|
25 */ |
|
26 // Error trace enabled except for winscw |
|
27 #ifndef __WINS__ |
|
28 |
|
29 |
|
30 #ifdef _DEBUG |
|
31 #define ERROR_TRACE |
|
32 #else |
|
33 #undef ERROR_TRACE |
|
34 #endif |
|
35 |
|
36 // Info trace enabled |
|
37 #ifdef _DEBUG |
|
38 #define INFO_TRACE |
|
39 #else |
|
40 #undef INFO_TRACE |
|
41 #endif |
|
42 |
|
43 // Timestamp tracing on |
|
44 #ifdef _DEBUG |
|
45 #define TIMESTAMP_TRACE |
|
46 #else |
|
47 #undef TIMESTAMP_TRACE |
|
48 #endif |
|
49 |
|
50 // Tracing current client process and thread accessing Context Framework |
|
51 #ifdef _DEBUG |
|
52 #define CLIENT_TRACE |
|
53 #else |
|
54 #undef CLIENT_TRACE |
|
55 #endif |
|
56 |
|
57 // Heap trace enabled |
|
58 #ifdef _DEBUG |
|
59 #define HEAP_TRACE |
|
60 #else |
|
61 #undef HEAP_TRACE |
|
62 #endif |
|
63 |
|
64 // DOM info trace enabled |
|
65 #ifdef _DEBUG |
|
66 #define DOM_INFO_TRACE |
|
67 #else |
|
68 #undef DOM_INFO_TRACE |
|
69 #endif |
|
70 |
|
71 // Function trace enabled |
|
72 #ifdef _DEBUG |
|
73 #undef FUNC_TRACE |
|
74 #else |
|
75 #undef FUNC_TRACE |
|
76 #endif |
|
77 |
|
78 // Tracing into file enabled, default RDebug |
|
79 #undef TRACE_INTO_FILE |
|
80 |
|
81 /** |
|
82 * Defines temporary rule folder |
|
83 */ |
|
84 #undef USE_TEMP_RULE_FOLDER |
|
85 |
|
86 /** |
|
87 * Define if you want context cache to be logged. |
|
88 */ |
|
89 #undef DEBUG_LOG_CONTEXT_CACHE |
|
90 |
|
91 /** |
|
92 * Define if you wan't CFClient to try to start CFW server. |
|
93 * By default this is set off since CFW server is started |
|
94 * automatically by Starter. |
|
95 */ |
|
96 #undef CFW_SERVER_START_THROUGH_CLIENT |
|
97 |
|
98 #endif |
|
99 |
|
100 #endif |