deviceencryption/DevEncUi/inc/DevEncUiLog.h
branchRCL_3
changeset 20 491b3ed49290
parent 19 95243422089a
child 21 65326cf895ed
--- a/deviceencryption/DevEncUi/inc/DevEncUiLog.h	Thu Aug 19 09:42:45 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-/*
-* Copyright (c) 2005 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:  Debug logging functionality.
-*
-*/
-
-#ifndef __DEVENCUI_LOG_H__
-#define __DEVENCUI_LOG_H__
-
-#include "DevEncUiConfig.hrh"
-
-#if defined( _DEBUG ) && defined ( DEVENCUI_LOG )
-
-#include <e32base.h>
-#include <e32cmn.h>
-#include <e32debug.h>
-
-class CFileLog : public CBase
-	{
-    public:
-    	static void Printf( TRefByValue<const TDesC> aFmt, ... );
-	};
-
-// Debug trace to stdout
-#define DLOG( aText ) \
-    { \
-    _LIT( KText, aText ); \
-    RDebug::Print( KText ); \
-    }
-
-// Debug trace to stdout
-#define DLOG2( aText, aParam ) \
-    { \
-    _LIT( KText, aText ); \
-    RDebug::Print( KText, aParam ); \
-    }
-
-// Debug trace to stdout
-#define DLOG3( aText, aParam1, aParam2 ) \
-    { \
-    _LIT( KText, aText ); \
-    RDebug::Print( KText, aParam1, aParam2 ); \
-    }
-
-// Debug trace to file
-#define FLOG( aText ) \
-    { \
-    _LIT( KLogText, aText ); \
-    CFileLog::Printf( KLogText ); \
-    }
-
-// Debug trace to file
-#define FLOG2( aText, b ) \
-    { \
-    _LIT( KLogText, aText ); \
-    CFileLog::Printf( KLogText, b ); \
-    }
-
-// Debug trace to file
-#define FLOG3( aText, b, c ) \
-    { \
-    _LIT( KLogText, aText ); \
-    CFileLog::Printf( KLogText, b, c ); \
-    }
-
-// Debug trace to stdout and file
-#define DFLOG( aText ) \
-    { \
-    DLOG( aText ); \
-    FLOG( aText ); \
-    }
-
-// Debug trace to stdout and file
-#define DFLOG2( aText, aParam ) \
-    { \
-    DLOG2( aText, aParam ); \
-    FLOG2( aText, aParam ); \
-    }
-
-// Debug trace to stdout and file
-#define DFLOG3( aText, aParam1, aParam2 ) \
-    { \
-    DLOG3( aText, aParam1, aParam2 ); \
-    FLOG3( aText, aParam1, aParam2 ); \
-    }
-
-// Debug trace a string literal to file
-#define FLOGBUF( aText ) \
-    { \
-    CFileLog::Printf( aText ); \
-    }
-
-#else   // _DEBUG not defined, no logging code will be included at all
-
-#define DLOG( a )
-#define DLOG2( a, b )
-#define DLOG3( a, b, c )
-#define FLOG( a )
-#define FLOG2( a, b )
-#define FLOG3( a, b, c )
-#define DFLOG( a )
-#define DFLOG2( a, b )
-#define DFLOG3( a, b, c )
-#define FLOGBUF( a )
-
-#endif // _DEBUG
-
-#endif // __DEVENCUI_LOG_H__
-
-// End of File
-