ArcGIS Pro 2.6 API Reference Guide
Write Method (EventLog)

ArcGIS.Desktop.Framework.Utilities Namespace > EventLog Class : Write Method
Creates a timestamped event record of the specified type. Event is flushed immediately to disk if flush is set to true.
Syntax
public static void Write( 
   EventLog.EventType type,
   string entry,
   bool flush
)
Public Shared Sub Write( _
   ByVal type As EventLog.EventType, _
   ByVal entry As String, _
   Optional ByVal flush As Boolean _
) 

Parameters

type
entry
flush
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

EventLog Class
EventLog Members