LassoScript Utility
Basics Browse Detail

-Log

Tag Link -Log Category Database
Type Command Source Available No
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0

Description

-Log specifies at what level the action statement from an inline should be logged. The value can be Critical, Detail, Warning, SQL, Deprecated, or None.

The action statement is an internal representation of the action that the inline is going to perform and can differ from data source to data source. Most SQL-based data sources will generate a SQL action statement. Other data sources may generate URLs or other information as the action statement.

The action statement can also be accessed by calling [Action_Statement] within an inline.

By default action statements are logged at the SQL level.

Syntax

[Inline: ..., -Log='None'] ... [/Inline]

[Inline: ..., -Log='Critical'] ... [/Inline]

[Inline: ..., -Log='SQL'] ... [/Inline]

Parameters

Required Parameters
Log Level The level at which to log the action statement generated by an inline: critical, warning, detail, sql, deprecated, or none (defaults to sql).

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.