LogWrite

LogWrite(LogMessage: stringa, ApplicationModule: stringa, ErrorLevel: numero, LogApplication: stringa)


Function to log a message into the QS LOGS

#1: Log message (string LUA 4 o unicode) [mandatory]

#2: Application module (string LUA 4 o unicode) [optional]

#3: Error level 0=LogInformation, 1=LogWarning, 2=LogError (integer) [optional, default LogError]

#4: LogApplication [optional]:

0=GLOBAL, // QsInformaticaGlobal

1=AUTO,   // detect from the executable (default)

2=ACAD,   // acadQsApplications

3=ACADLT, // acadltQsApplications

4=BCAD,   // bricscadQsApplications

 

Esempio 1. Esempio LogWrite

LogWrite("Script avviato.")