equal
deleted
inserted
replaced
|
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: Tracing flags configuration. 2nd generation. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TRACECONFIGURATION_HRH |
|
19 #define TRACECONFIGURATION_HRH |
|
20 |
|
21 //----------------------------------------------------------------------------- |
|
22 // Trace definitions |
|
23 //----------------------------------------------------------------------------- |
|
24 // |
|
25 |
|
26 /** |
|
27 * Error trace enabled |
|
28 */ |
|
29 #ifdef _DEBUG |
|
30 #define ERROR_TRACE |
|
31 #else |
|
32 #undef ERROR_TRACE |
|
33 #endif |
|
34 |
|
35 /** |
|
36 * Info trace enabled |
|
37 */ |
|
38 #ifdef _DEBUG |
|
39 #define INFO_TRACE |
|
40 #else |
|
41 #undef INFO_TRACE |
|
42 #endif |
|
43 |
|
44 /** |
|
45 * Timestamp tracing on |
|
46 */ |
|
47 #ifdef _DEBUG |
|
48 #define TIMESTAMP_TRACE |
|
49 #else |
|
50 #undef TIMESTAMP_TRACE |
|
51 #endif |
|
52 |
|
53 /** |
|
54 * Tracing current client process and thread |
|
55 */ |
|
56 #ifdef _DEBUG |
|
57 #define CLIENT_TRACE |
|
58 #else |
|
59 #undef CLIENT_TRACE |
|
60 #endif |
|
61 |
|
62 /** |
|
63 * Function trace enabled |
|
64 */ |
|
65 #undef FUNC_TRACE |
|
66 |
|
67 /** |
|
68 * Tracing into file enabled, default RDebug |
|
69 */ |
|
70 #undef TRACE_INTO_FILE |
|
71 |
|
72 #endif |