equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Header declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 #ifndef __LOGGER_H_____ |
|
26 #define __LOGGER_H_____ |
|
27 |
|
28 #ifdef __CUSTOM_LOG_ENABLED__ |
|
29 |
|
30 #define DOLOG(a) DoLog(a) |
|
31 |
|
32 // INCLUDES |
|
33 #include <e32std.h> |
|
34 |
|
35 // CONSTANTS |
|
36 _LIT(KLogFileName, "c:\\SenNotPluginDlgImpl.txt"); |
|
37 |
|
38 // panics |
|
39 _LIT(KLogPanicCategory, "CustNotifyLog"); |
|
40 const TInt KPanicFsConnectFailed = 1; |
|
41 const TInt KPanicFileCreateFailed = 2; |
|
42 const TInt KPanicFileWriteFailed = 3; |
|
43 |
|
44 void DoLog(const TDesC& aText); |
|
45 |
|
46 #else //__CUSTOM_LOG_ENABLED__ |
|
47 #define DOLOG(a) |
|
48 #endif //__CUSTOM_LOG_ENABLED__ |
|
49 |
|
50 #endif //__LOGGER_H_____ |
|
51 |
|
52 // End of File |