Overview
The OpenFin 'Diagnostic Mode' activates Verbose Logging and Crash Reporting. Diagnostic Mode is not activated by default to increase application performance and save local disk space however is certain circumstances it may be necessary to enable Diagnostic Mode logging to capture more information.
Enabling Diagnostic Mode
Runtime Arguments
Diagnostic Mode can be activated by adding the `--diagnostics` argument to the Runtime Arguments, information on how to configure Runtime Arguments can be found in our How-To-add-Runtime-Arguments article.
*Please note: if you add `--diagnostics` mode via the shortcut the argument will only be applied on the first launch of the application after the argument is added. This is not ideal if the renderer crash occurs intermittently*
Using the OpenFin API
Although there is not a single API method that activates Diagnostic Mode the OpenFin API does provide methods that can be used to activate Verbose Logging and Crash Reporting independently.
Verbose logging can be enabled during runtime by calling the OpenFin API method System.setMinLogLevel.
Crash Reporting can be enabled during runtime by calling the OpenFin API method System.startCrashReporter.
Comments
0 comments
Please sign in to leave a comment.