EventLog connector event and methods
The Eventlog connector provides methods and an event to listen to events from sources and write them to the Microsoft Event Viewer as part of an automation. The methods and events have properties that you can update.
OnEntryWritten
This is a predefined event that occurs when an entry is written to the event log of your
local computer.
- Event output
- Type
Write
Writes a warning, information, or error to the Microsoft Event Viewer, which
includes a message and the source of the event.
- Inputs
- Type
Dispose
When you execute the Write method, an object to the Microsoft Event Viewer is written and a connection is established with the RPA Desktop Design Studio. When you connect the Dispose method with the Write method, the object is disconnected.
ListenEvents
Listens to the events that are specified in the OnEntryWritten event.
UnsubscribeToEvents
Discontinues listening to the events from the OnEntryWritten event.
OnEntryWritten
Provides as outputs the event type, descriptive message, and the source of the event.