traceservices/tracefw/ost_trace_api/unit_test/te_ost/inc/te_logger.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:39:58 +0100
branchRCL_3
changeset 24 cc28652e0254
parent 0 08ec8eefde2f
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201035 Kit: 201035

// Copyright (c) 2007-2009 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:
//



/**
 @file te_logger.h
 @internalTechnology
*/

#ifndef TE_LOGGER_H_
#define TE_LOGGER_H_
#include "te_tracerecord.h"
#include <uloggerclient.h>
//#include <d32btrace.h>

using namespace Ulogger;


	
class TLogger
{
public:
	void SetLogFilename(const TDesC& aLogFilename);
	TInt StartLoggingL(const TTraceConfigs aTraceData);
	TInt StopLogging();
	TInt GetDataL(TUint8*& aData, TUint& aSize);
	TInt DeleteLogfileL();
private:
	//TInt DumpBTracesToFile();
private:
	RULogger iLogger;
	//RBTrace iLogger;
	TBuf<KMaxFileName> iLogFilename;
};
#endif /*TE_LOGGER_H_*/