diff -r 09b1ac925e3f -r 03674e5abf46 cpsecplugins/devicelockplugin/src/debug.h --- a/cpsecplugins/devicelockplugin/src/debug.h Tue Aug 31 16:04:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -/* - * Copyright (c) 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: - * - */ - -#if defined (_DEBUG) - -_LIT( KLogFile, "Devicelockplugin.log" ); -_LIT( KLogDir, "Devicelockplugin" ); - -#include -#include -#include -#include - -inline void FWrite (TRefByValue aFmt,...) - { - VA_LIST list; - VA_START( list, aFmt ); - RFileLogger::WriteFormat( KLogDir,KLogFile,EFileLoggingModeAppend ,TPtrC(aFmt) ,list ); - } - - #define Dprint(arg...) FWrite arg; -#else - #define Dprint(arg...) -#endif // _DEBUG - -