diff -r 000000000000 -r af10295192d8 linklayercontrol/networkinterfacemgr/inc/Ni_Log.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayercontrol/networkinterfacemgr/inc/Ni_Log.h Tue Jan 26 15:23:49 2010 +0200 @@ -0,0 +1,90 @@ +/** +* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + +/** + @file NI_LOG.H + @internalComponent +*/ + + +#if !defined(__NI_LOG_H__) +#define __NI_LOG_H__ + +#include + +#if defined(__FLOG_ACTIVE) + + +/** +@internalComponent +*/ + #ifndef LOG + #define LOG(MSG) MSG + #endif + + #if defined (DETAILED_LOG) + +/** +@internalComponent +*/ + #ifndef LOG_DETAILED + #define LOG_DETAILED(MSG) MSG + #endif + #else + #ifndef LOG_DETAILED + #define LOG_DETAILED(MSG) + #endif + #endif + +/** +@internalComponent +*/ + _LIT(KNifmanLogFolder,"Nifman"); + _LIT(KNifmanLogFile,"Nifman.txt"); + +/** +@internalComponent +*/ + _LIT(KEndOfLine,"\r\n"); + +/** +@internalComponent +*/ + const TInt KNifmanLogHexDumpWidth = 16; + + class NifmanLog +/** +@internalComponent +*/ + { + + public: + static void Printf(TRefByValue aFmt, ...); + static void Printf(TRefByValue aFmt, ...); + }; + +#else + + #define LOG(MSG) + #define LOG_DETAILED(MSG) + +#endif + +#endif // __NI_LOG_H__ +