ArcGIS Pro 2.9 API Reference Guide
ShouldLog Method

ArcGIS.Desktop.Framework.Utilities Namespace > EventLog Class : ShouldLog Method
Used to control which types of events should be logged.
Syntax
public static bool ShouldLog( 
   EventLog.EventType type
)
Public Shared Function ShouldLog( _
   ByVal type As EventLog.EventType _
) As Boolean

Parameters

type
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EventLog Class
EventLog Members