browserutilities/feedsengine/FeedsServer/Common/inc/Logger.h
author asimpson@symbian.org
Thu, 15 Oct 2009 18:00:25 +0100
branchRCL_1
changeset 13 c1bc4bcc930c
parent 0 dd21522fd290
child 48 79859ed3eea9
permissions -rw-r--r--
Added tag PDK_2.0.0 for changeset 9cbc205f4c45

/*
* 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 the License "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:  Feeds logging
*
*/


#ifndef LOGGER_H
#define LOGGER_H

#ifdef _DEBUG
#include <Flogger.h>

#define FEED_LOG(a, b, c, d) RFileLogger::WriteFormat((a), (b), (c), (d))
#define FEED_LOG1(a, b, c, d, e) RFileLogger::WriteFormat((a), (b), (c), (d), (e))
#define FEED_LOG2(a, b, c, d, e, f) RFileLogger::WriteFormat((a), (b), (c), (d), (e), (f))
#define FEED_LOG3(a, b, c, d, e, f, g) RFileLogger::WriteFormat((a), (b), (c), (d), (e), (f), (g))
#define FEED_LOG4(a, b, c, d, e, f, g, h) RFileLogger::WriteFormat((a), (b), (c), (d), (e), (f), (g), (h))
#define FEED_LOG5(a, b, c, d, e, f, g, h, i) RFileLogger::WriteFormat((a), (b), (c), (d), (e), (f), (g), (h), (i))
#define FEED_LOG6(a, b, c, d, e, f, g, h, i, j) RFileLogger::WriteFormat((a), (b), (c), (d), (e), (f), (g), (h), (i), (j))

#else

#define FEED_LOG(a, b, c, d)
#define FEED_LOG1(a, b, c, d, e)
#define FEED_LOG2(a, b, c, d, e, f)
#define FEED_LOG3(a, b, c, d, e, f, g)
#define FEED_LOG4(a, b, c, d, e, f, g, h) 
#define FEED_LOG5(a, b, c, d, e, f, g, h, i) 
#define FEED_LOG6(a, b, c, d, e, f, g, h, i, j) 

#endif
#endif