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.
Log_SQL('MyCustomDS generated: SELECT * FROM database.table')
No examples 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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft