|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 #ifndef __COMMSLOG_IBY__ |
|
18 #define __COMMSLOG_IBY__ |
|
19 |
|
20 REM Communications Logging Components |
|
21 REM A minimum set of binaries compiled with logging enabled is required to produce log output, |
|
22 REM including some components which are not part of CommsDebugUtility. The following components |
|
23 REM must be built with logging enabled and included on a target ROM. To engage logging for |
|
24 REM release builds, uncomment //#define __FLOGGER_UREL in commslog.iby and |
|
25 REM commsdebugutility.mmh. |
|
26 REM Note: the commsfw and commsrootserver components are not considered part of the logging |
|
27 REM system but they must be built with the same defines as CommsDebugUtility or else the logging |
|
28 REM environment will not be properly initialized. If logging/non-logging components are |
|
29 REM mismatched, the first component to add a log entry is likely to panic and the target may |
|
30 REM reset. |
|
31 |
|
32 |
|
33 // Uncomment next line to temporarily engage logging for release builds. |
|
34 //#define __FLOGGER_UREL |
|
35 // Comment next line to temporarily disengage logging for debug builds |
|
36 #define __FLOGGER_UDEB |
|
37 |
|
38 #include <flogger.iby> |
|
39 #if ( defined _DEBUG && defined __FLOGGER_UDEB ) || ( !defined _DEBUG && defined __FLOGGER_UREL ) |
|
40 #include <cflog.iby> |
|
41 #include <commsdebugutility.iby> |
|
42 #endif // ( defined _DEBUG && defined __FLOGGER_UDEB ) || ( !defined _DEBUG && defined __FLOGGER_UREL ) |
|
43 #include <commsfw.iby> |
|
44 #include <commsrootserver.iby> |
|
45 |
|
46 #endif |