diff -r 000000000000 -r dd21522fd290 browserutilities/feedsengine/FeedsServer/Common/inc/Logger.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/browserutilities/feedsengine/FeedsServer/Common/inc/Logger.h Mon Mar 30 12:54:55 2009 +0300 @@ -0,0 +1,45 @@ +/* +* 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 + +#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 +