equal
deleted
inserted
replaced
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) |