telephonyserver/etelsimtoolkit/dtsy/Dsatlog.cpp
branchRCL_3
changeset 83 ea777f234bd4
parent 82 042fd2753b8f
equal deleted inserted replaced
71:b10722dbe19e 83:ea777f234bd4
    44 void CDTSYLogger::ConstructL()
    44 void CDTSYLogger::ConstructL()
    45 /**
    45 /**
    46  * In debug mode the logfile will not be deleted at start of new session
    46  * In debug mode the logfile will not be deleted at start of new session
    47  */
    47  */
    48 	{
    48 	{
    49 	User::LeaveIfError(iFs.Connect());
    49 	iFs.Connect();
    50 	TInt ret=KErrNone;
    50 	TInt ret=KErrNone;
    51 	ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
    51 	ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
    52 	if(ret!=KErrNone)
    52 	if(ret!=KErrNone)
    53 		ret=iFile.Create(iFs,KLogFileName,EFileShareAny|EFileWrite);
    53 		ret=iFile.Create(iFs,KLogFileName,EFileShareAny|EFileWrite);
    54 	if(ret==KErrNone)
    54 	if(ret==KErrNone)