Lasso Soft Inc. > Home

[ log_sql ]

Method

The [Log_SQL] method is deprecated in favor of [log_detail] and the action statement log level no does not exist in some versions of Lasso 9. Where the action_statement log level no longer exists, messages logged using [Log_SQL] will be logged at the detail log level. Also, data sources should not log every action statement; instead programmers can choose when and where to log the statements if they want to.

[Log_SQL] logs an error message at the action statement log level. This log level should be used to log the action statements generated by a data source. This log level is used internally by the built-in data sources and can also be used by third-party data sources.

  • Syntax
Log_SQL('MyCustomDS generated: SELECT * FROM database.table')
Examples

No examples found

Recent Comments

No Comments found

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