browserutilities/feedsengine/FeedsServer/Common/inc/Logger.h
author Simon Howkins <simonh@symbian.org>
Mon, 15 Nov 2010 14:53:34 +0000
branchRCL_3
changeset 105 871af676edac
parent 94 919f36ff910f
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* 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