Browse Source

Create a new debug trace log file each 1 GB

Source commit: 958f72fde61c6ea727a85612b252f396809e2154
Martin Prikryl 7 năm trước cách đây
mục cha
commit
900de1f2a1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/windows/UserInterface.cpp

+ 1 - 1
source/windows/UserInterface.cpp

@@ -385,7 +385,7 @@ void __fastcall ConfigureInterface()
 void __fastcall ForceTracing()
 {
   Tracing::ForceTraceOn();
-  SetTraceFile((HANDLE)Tracing::GetTraceFile());
+  SetTraceFileCallback(GetTraceFileCallback());
 }
 #endif
 //---------------------------------------------------------------------------