|
1 /* |
|
2 * Copyright (c) 2004-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: Macro definition file for logging configuration. |
|
15 * Note: This file has to be separate from the logging header |
|
16 * file to be able to include it in mmp file. If not, we |
|
17 * will get warning about not used flogger.lib in other |
|
18 logging cases where flogger.lib is not used. |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 #ifndef GSCONFIGURATION_H |
|
25 #define GSCONFIGURATION_H |
|
26 |
|
27 #ifdef _DEBUG // logging to file in debug only |
|
28 |
|
29 /** |
|
30 * Have this line active if you want to have logging for this component. |
|
31 * Comment this line out if you don't want any logging for this component. |
|
32 */ |
|
33 //#define _GSLOGGING |
|
34 |
|
35 /** |
|
36 * Have this line active if you want to have logging to file. |
|
37 * Comment this line out if you want to have logging via RDebug::Print. |
|
38 */ |
|
39 //#define _GS_LOGGING_TO_FILE |
|
40 |
|
41 /** |
|
42 * Have this line active in case you want to have plugin loading performance |
|
43 * measurements activated. |
|
44 */ |
|
45 //#define _GS_PERFORMANCE_TRACES |
|
46 |
|
47 /** |
|
48 * Have this line active in case you want to have verbose messages for plugin |
|
49 * loading. This is helpful if loading of plugin(s) is failing. |
|
50 */ |
|
51 //#define _GS_PLUGINLOADER_VERBOSE_TRACES |
|
52 |
|
53 /** |
|
54 * Enable to get traces about plugin sorting. Usable to get each sorted view |
|
55 * items. |
|
56 */ |
|
57 //#define _GS_PLUGINLOADER_FINAL_SORTING_TRACES |
|
58 |
|
59 /** |
|
60 * Enable to get traces about plugin sorting for each iteration. Usable if |
|
61 * sorting logic fails. |
|
62 */ |
|
63 //#define _GS_PLUGINLOADER_ITERATION_SORTING_TRACES |
|
64 |
|
65 /** |
|
66 * Enable to active verbose messages for CGSWatchDog. This is helpful if plugins |
|
67 * are missing or disabled from GS incorrectly. |
|
68 */ |
|
69 //#define _GS_WATCHDOG_VERBOSE_TRACES |
|
70 |
|
71 /** |
|
72 * Activate to get traces of lbx format strings. Good for finding how and which |
|
73 * icons and texts are used for lbx items. |
|
74 */ |
|
75 //#define _GS_PARENTPLUGIN_LBX_FORMAT_TRACES |
|
76 |
|
77 |
|
78 |
|
79 #endif // _DEBUG |
|
80 |
|
81 #endif // GSCONFIGURATION_H |