Command: WriteToEventLog

Previous  Next |  Direct link to this topic

Go to list of all Commands

Syntax: WriteToEventlog(<message>|<type>);

 

Write a message to the currently logged in users Event log (located in %appdata%\Boyum IT\BOY_USABILITY_x64\EventLogs). This can be helpful if you wish to know is a user ran a specific UF or a specific section of a UF was executed.

As type you can either specify E = Error, W = Warning or I = Information (If you do not provide a type it will be treated as Information).

Sample: WriteToEventLog(Some Error have occurred|E);

Sample: WriteToEventLog(My Message with $[$5.0.0] with keyword in it);

Sample: WriteToEventLog(SQL: SELECT 'Message built from SQL');