ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Utilities Namespace / EventLog Class / Write Method / Write(EventType,String,Boolean) Method
The type of event to log.
User defined entry describing the event.
If true, event is written to disk immediately.

In This Topic
    Write(EventType,String,Boolean) Method
    In This Topic
    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.User defined entry describing the event.If true, event is written to disk immediately.
    Syntax
    public static void Write( 
       EventLog.EventType type,
       string entry,
       bool flush
    )
    Public Overloads Shared Sub Write( _
       ByVal type As EventLog.EventType, _
       ByVal entry As String, _
       Optional ByVal flush As Boolean _
    ) 

    Parameters

    type
    The type of event to log.
    entry
    User defined entry describing 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