[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 > Log Book > Settings page in Lasso Administration.
[Log_Warning] should be used to log error messages that affect the operation of your method or type 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.
This example logs "Out of Memory" errors in a custom solution to Lasso's internal error logs with an error level of Warning.
Error_CurrentError == Error_OutOfMemory ? Log_Warning('Out of Memory error occurred while processing page example.lasso')
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.