ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Utilities Namespace / EventLog Class / IsEnabled Property

IsEnabled Property (EventLog)
Returns True if the application is running in diagnostic mode.
Syntax
public static bool IsEnabled {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also