Changeset 247 for ExceptionLogger
- Timestamp:
- May 24, 2011, 12:36:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ExceptionLogger/UExceptionLogger.pas
r167 r247 97 97 Buffer := Report.Text; 98 98 if FileExists(FLogFileName) then 99 LogFile := TFileStream.Create( FLogFileName, fmOpenReadWrite)100 else LogFile := TFileStream.Create( FLogFileName, fmCreate);99 LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmOpenReadWrite) 100 else LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmCreate); 101 101 with LogFile do try 102 102 Seek(0, soFromEnd); … … 115 115 begin 116 116 if FileExists(FLogFileName) then 117 LogFile := TFileStream.Create( FLogFileName, fmOpenReadWrite)118 else LogFile := TFileStream.Create( FLogFileName, fmCreate);117 LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmOpenReadWrite) 118 else LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmCreate); 119 119 with LogFile do try 120 120 Seek(0, soFromEnd);
Note:
See TracChangeset
for help on using the changeset viewer.