Lasso Soft Inc. > Home

[ Log_Critical ]


[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.

  • Syntax
  • Beginner

To log format file errors as Critical errors:

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.')

Recent Comments

No Comments found

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.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft