ArcGIS Pro 2.7 API Reference Guide
IsEnabled Property (EventLog)

ArcGIS.Desktop.Framework.Utilities Namespace > EventLog Class : IsEnabled Property
Returns True if the application is running in diagnostic mode.
Syntax
public static bool IsEnabled {get;}
Public Shared ReadOnly Property IsEnabled As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EventLog Class
EventLog Members