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