[Log_Critical] logs a string parameter to Lasso's internal error logs flagged as a Critical error.
By default, the error will be logged to the console, the LassoErrors.txt file, and to the internal errors database. However, the global administrator can change the routing of errors in the Monitor > Log Book > Settings page in Lasso Administration.
[Log_Critical] should be used to log error messages that affect the operation of your method or Web site. Critical errors generally require that the server administrator correct the situation before your solution will run properly.
This example logs "Database Timeout" errors in a custom solution to Lasso's internal error logs with an error level of Critical.
Error_CurrentError == Error_DatabaseTimeout ? Log_Critical('Database timeout error occurred while searching EXAMPLE database.')
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.