CreateEventSource

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TEventLog > Methods >

CreateEventSource

Previous pageReturn to chapter overviewNext page

Establishes an application as able to write event information to a particular log on the system.

 

source - The name by which the application is registered in the event log system.

logName - The name of the log the source's entries are written to. Possible values include Application, System, or a custom event log.

machineName - The name of the computer to remove the registration from, or "." for the local computer.

 

CreateEventSource               PROCEDURE(STRING source, STRING logName, <STRING machineName>), BOOL, PROC