equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-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 // |
|
15 |
|
16 /** |
|
17 @file hooklog.h |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #ifndef __HOOK_LOG_H__ |
|
22 #define __HOOK_LOG_H__ |
|
23 |
|
24 #if defined (_DEBUG) && !defined (__WINC__) |
|
25 |
|
26 const TInt KHexDumpWidth = 16; |
|
27 |
|
28 #define LOG(x) x |
|
29 |
|
30 class HookLog |
|
31 { |
|
32 public: |
|
33 static void Printf(TRefByValue<const TDesC8> aFmt, ...); |
|
34 static void Printf(TRefByValue<const TDesC> aFmt, ...); |
|
35 // static void ConnectionInfoPrintf(const TDesC8& aConnectionInfo, TRefByValue<const TDesC> aFmt, ...); |
|
36 }; |
|
37 |
|
38 #else |
|
39 #define LOG(x) |
|
40 #endif |
|
41 |
|
42 #endif // __HOOK_LOG_H__ |
|
43 |
|
44 |
|
45 |
|
46 |