Changeset 305 for Common/UDebugLog.pas


Ignore:
Timestamp:
Jan 3, 2012, 10:31:59 AM (13 years ago)
Author:
chronos
Message:
  • Added: Property Finished of TListedThread.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/UDebugLog.pas

    r295 r305  
    4545
    4646implementation
     47
     48resourcestring
     49  SFileNameNotDefined = 'Filename not defined';
    4750
    4851procedure Register;
     
    100103  LogFile: TFileStream;
    101104begin
     105  if FileName = '' then raise Exception.Create(SFileNameNotDefined);
    102106  try
    103107    if ExtractFileDir(FileName) <> '' then
     
    131135    TDebugLogItem(List[I]).Free;
    132136  Items.Free;
    133   inherited Destroy;
     137  inherited;
    134138end;
    135139
Note: See TracChangeset for help on using the changeset viewer.