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