camerauis/activepalette/Inc/ActivePalette2Logger.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 07 Jan 2010 16:18:56 +0200
changeset 0 1ddebce53859
permissions -rw-r--r--
Revision: 200951 Kit: 201001

/*
* Copyright (c) 2007 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:  Active Palette logger*
*/


/**
 * @file ActivePalette2Logger.h
 * Active Palette logger
 */

#ifndef _ACTIVE_PALETTE_2_LOGGER_H
#define _ACTIVE_PALETTE_2_LOGGER_H

#ifdef _DEBUG

#include <e32debug.h>

/// Debug logger
#define LOGTEXT(a)   		{ RDebug::Print(a); }
/// Debug logger, takes 1 extra param
#define LOGTEXT1(a,b)   	{ RDebug::Print(a,b); }
/// Debug logger, takes 2 extra params
#define LOGTEXT2(a,b,c)   	{ RDebug::Print(a,b,c); }
/// Debug logger, takes 3 extra params
#define LOGTEXT3(a,b,c,d)   { RDebug::Print(a,b,c,d); }

#else 

#define LOGTEXT(a)
#define LOGTEXT1(a,b)   
#define LOGTEXT2(a,b,c) 
#define LOGTEXT3(a,b,c,d)

#endif // _DEBUG

#endif //_ACTIVE_PALETTE_2_LOGGER_H

// End of File