Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 29 JUL 2021 06:01:13AM Carl Pates wrote:

As this was mentioned in the Beta Issue tracker here's the documentation for RTI_Log_Event().

   SuccessFlag = RTI_Log_Event( eventType, eventSource, eventText )

This stored procedure is a wrapper around the Windows API ReportEvent() function to write an entry to the Windows Event Log. The parameters are:

   

      eventType     -> Event type information

      

                           <1> "ERROR", "INFO", "WARNING", "AUDIT_OK", "AUDIT_FAIL", "SUCCESS"

                           <2> eventID       (defaults to 1000)

                           <3> eventCategory (defaults to 0)

   

      eventSource   -> Event source information

      

                           <1> Name of the Event Source. Defaults to "OpenInsight"

                           <2> ServerName (optional). UNC name of a remote server 

                               to log the event to. If null then the local machine 

                               is used.

                           

      eventText     -> Text for the event (optional)

      

      

   Returns

   =======

   

      TRUE$ if the event was logged correctly, FALSE$ otherwise.  Error 

      information is returned via Set_Status()

This is basically a non-PS version of the SYSTEM LOGEVENT method.

Carl Pates

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/81861565d5737c4cb2dad4db9377c9c6.txt
  • Last modified: 2024/01/04 20:57
  • by 127.0.0.1