LassoScript Utility
Basics Browse Detail


Tag Link [Log_Critical] Category Utility
Type Process Source Available No
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type None Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0


[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.text file, and to the internal errors database. However, the global administrator can change the routing of errors in the Monitor > Errors > Setup page in Lasso Administration.

[Log_Critical] should be used to log error messages that affect the operation of your tag or Web site. Critical errors generally require that the server administrator correct the situation before your solution will run properly.


[Log_Critical: 'Message']


Required Parameters
'Error Message' The critical error message which is to be logged.


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.

[If: (Error_CurrentError) == (Error_DatabaseTimeout)]
[Log_Critical: 'Database timeout error occurred while searching EXAMPLE database.']

Database timeout error occurred while searching EXAMPLE database.