WriteEntry

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TEventLog > Methods >

WriteEntry

Previous pageReturn to chapter overviewNext page

Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log.

 

message - The string to write to the event log.

type - One of the EventLogEntryType values.

eventID - The application-specific identifier for the event.

category - The application-specific subcategory associated with the message.

 

WriteEntry                     PROCEDURE(STRING message, EventLogEntryTypeEnum type, LONG eventID, SHORT category), BOOL, PROC

 

 

 

Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log.

 

source - The source by which the application is registered on the specified computer.

message - The string to write to the event log.

type - One of the EventLogEntryType values.

eventID - The application-specific identifier for the event.

category - The application-specific subcategory associated with the message.

 

WriteEntry                     PROCEDURE(STRING source, STRING message, EventLogEntryTypeEnum type, LONG eventID, SHORT category), BOOL, PROC