createEventLogEntry()

Creates an event log entry in either the Application, Security or System event log types. You can create a Warning, Error or Informational event with your own description. The created event is hard-coded to use an Event ID of 607.

Operating systems supported: Windows

Example

createEventLogEntry("This is a test event log entry", "Error", "Application", "All Operating Systems", "Halt on Fail")