LassoScript Utility
Basics Browse Detail


Tag Link [Log_Warning] Category Administration
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_Warning] logs a string parameter to Lasso's internal error logs flagged as a Warning message.

By default, the message will only be logged to the console. However, the global administrator can change the routing of errors in the Monitor > Errors > Setup page in Lasso Administration.

[Log_Warning] should be used to log error messages that affect the operation of your tag or Web site, but do not prevent it from basic operation. Warning messages are informative and may require that global administrator change settings for full operation of your solution.


[Log_Warning: 'Message']


Required Parameters
'Warning Message' The warning message which is to be logged.


To log format file errors as Warnings:

This example logs "Out of Memory" errors in a custom solution to Lasso's internal error logs with an error level of Warning.

[If: (Error_CurrentError) == (Error_OutOfMemory)]
[Log_Warning: 'Out of Memory error occurred while processing page example.lasso']

Out of Memory error occurred while processing page example.lasso