[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']
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.']
[/If]
Database timeout error occurred while searching EXAMPLE database.
Tag Link | [Log_Critical] | Category | Utility |
---|---|---|---|
Type | Process | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | None | Security | Tag |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft