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.
Target Platforms: Windows 11, Windows 10