How to disable generating GpuCapability.log on startup?

105 Views Asked by At

I am launching my application from different directories and in each directory SciChart generates a new GpuCapability.log file.

Is there any possibility how to disable this functionality?

I didn't find any solution how to do it

1

There are 1 best solutions below

1
SciChart Official On BEST ANSWER

This depends a lot on the version of SciChart WPF you are using, but in the latest version, set this flag once before any SciChartSurface is shown to disable log output of the GpuCapabilityTester

// Enables or disables sending GPU test messages to debug output 
VisualXcceleratorEngine.WriteWarningsToOutput = false;

A GpuCapability.log file is also created when that flag is true, this shouldn't be the case so it will be logged for future improvement.