Lasso Soft Inc. > Home

[Log_Warning]

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

  • Syntax
  • Parameters
[Log_Warning: 'Message']
Required Parameters
'Warning Message' The warning message which is to be logged.
Examples

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']
[/If]
Result:
Out of Memory error occurred while processing page example.lasso
Tag Link [Log_Warning] Category Utility
Type Process Data Source Any
Support Preferred Version 6.0
Output Type None Security Tag
Implementation Internal Sets 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. > Home

 

 

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