|
1 // Copyright (c) 2005-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 "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 // When checking this file into perforce, ensure that |
|
15 // LOGGING IS DISABLED FOR RELEASE BUILDS. |
|
16 // PREQ505 - "Easy and consistent configuration of component traces" |
|
17 // If we're keeping this file, #include it correctly in dependent MMP files, and move it to |
|
18 // 'public'. |
|
19 // |
|
20 // |
|
21 |
|
22 /** |
|
23 @todo remove this mmh file in favour of the System Wide Trace Mechanism to be introduced in |
|
24 */ |
|
25 |
|
26 // Uncomment next line to temporarily engage logging for release builds. |
|
27 //#define __FLOGGER_UREL |
|
28 // Comment next line to temporarily disengage logging for debug builds |
|
29 #define __FLOGGER_UDEB |
|
30 |
|
31 // Determine whether, and how, flogger is to be included |
|
32 #ifdef __FLOGGER_UREL |
|
33 #ifdef __FLOGGER_UDEB |
|
34 #define __FLOGGER_INCLUDED |
|
35 MACRO __FLOG_UREL |
|
36 #endif |
|
37 #endif |
|
38 #ifdef __FLOGGER_UREL |
|
39 #ifndef __FLOGGER_UDEB |
|
40 #define __FLOGGER_INCLUDED |
|
41 MACRO __FLOG_UREL |
|
42 MACRO __FLOG_NO_UDEB |
|
43 #endif |
|
44 #endif |
|
45 #ifndef __FLOGGER_UREL |
|
46 #ifndef __FLOGGER_UDEB |
|
47 MACRO __FLOG_NO_UDEB |
|
48 #endif |
|
49 #endif |
|
50 #ifndef __FLOGGER_UREL |
|
51 #ifdef __FLOGGER_UDEB |
|
52 #define __FLOGGER_INCLUDED |
|
53 #define __FLOGGER_DEBUGGERLIBRARY |
|
54 #endif |
|
55 #endif |
|
56 |
|
57 |
|
58 #ifdef __FLOGGER_INCLUDED |
|
59 #ifndef __FLOGGER_SUPPRESS_LIBRARY |
|
60 #ifdef __FLOGGER_DEBUGGERLIBRARY |
|
61 DEBUGLIBRARY btlogger.lib |
|
62 #else |
|
63 LIBRARY btlogger.lib |
|
64 #endif |
|
65 #endif |
|
66 #endif |
|
67 |