ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Utilities Namespace / EventLog Class / Write Method / Write(EventType,ValueTuple<String,String>[],UInt32,Boolean) Method
The type of event to log.
An array of tuples containing event name + value pairs.
The duration (in milliseconds) associated with the event.
If true, event is written to disk immediately.
Version

Write(EventType,ValueTuple<String,String>[],UInt32,Boolean) Method
Creates a timestamped event record of the specified type. Event is flushed immediately to disk if flush is set to true. The type of event to log.An array of tuples containing event name + value pairs.The duration (in milliseconds) associated with the event.If true, event is written to disk immediately.
Syntax

Parameters

type
The type of event to log.
customEventData
An array of tuples containing event name + value pairs.
elapsed
The duration (in milliseconds) associated with the event.
flush
If true, event is written to disk immediately.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also