telephonyserver/etelpacketdata/dtsy/dpcktlog.cpp
branchRCL_3
changeset 82 042fd2753b8f
parent 61 17af172ffa5f
equal deleted inserted replaced
74:9200f38b1324 82:042fd2753b8f
    40 void CDTSYLogger::ConstructL()
    40 void CDTSYLogger::ConstructL()
    41 /**
    41 /**
    42  *	In debug mode the logfile will not be deleted at start of new session
    42  *	In debug mode the logfile will not be deleted at start of new session
    43  */
    43  */
    44 	{
    44 	{
    45 	User::LeaveIfError(iFs.Connect());
    45 	iFs.Connect();
    46 	TInt ret=KErrNone;
    46 	TInt ret=KErrNone;
    47 	ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
    47 	ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
    48 	if(ret!=KErrNone)
    48 	if(ret!=KErrNone)
    49 		ret=iFile.Create(iFs,KLogFileName,EFileShareAny|EFileWrite);
    49 		ret=iFile.Create(iFs,KLogFileName,EFileShareAny|EFileWrite);
    50 	if(ret==KErrNone)
    50 	if(ret==KErrNone)