// LOG.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__LOG_H__)
#define __LOG_H__

#include <e32std.h>
#include <e32base.h>

#if defined(_MKLOG)
# define _LOG
#endif

#if defined(_LOG)

# if defined(__WINS__)
#  define LOG(a) a 
# elif defined (__EPOC32__)
// No equivelent for EPOC32 yet
#  define LOG(a)
//#  undef _LOG
# endif
#else
# define LOG(a)
# undef _LOG
#endif	// _LOG

#ifdef _LOG
class Log
	{
public:
	IMPORT_C static void Write(const TDesC& aDes);
	IMPORT_C static void Printf(TRefByValue<const TDesC> aFmt, ...);
	IMPORT_C static void HexDump(const TText* aHeader, const TText* aMargin, const TUint8* aPtr, TInt aLen);
	};
#endif

#endif
