CodeSite日期记录对于调试程序而言非常方便,我们可以同时开启动态日志监视和文件日志:

var
     Dest: TCodeSiteDestination;
  begin
     Dest := TCodeSiteDestination.Create( Self );
     //开启文件日志
     Dest.LogFile.Active := True;
     Dest.LogFile.FileName := 'MyFirstLog.csl';
     Dest.LogFile.FilePath := '$(MyDocs)';
     //开启动态日志监视
     Dest.Viewer.Active := True;   // Add this line
 
     CodeSite.Destination := Dest;

相关文章:

  • 2021-07-29
  • 2021-06-07
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-06-18
  • 2022-01-10
相关资源
相似解决方案