Lasso Soft Inc. > Home

[Log] ... [/Log]

[Log] ... [/Log] logs the contents of the container tags to a specified location. Accepts a single parameter which is the path to a log file or -Window to direct the output to the console window for Lasso Service.

  • Syntax
  • Parameters
[Log]
  ...
[/Log]

[Log: File Name]
 ...
[/Log]

[Log: -Window]
 ...
[/Log]
Optional Parameters
File Name The name of the file to which the contents of the container tag should be logged. Either a file name or -Window is required.
-Window Specifies that the contents of the container tag should be logged to the Lasso Service console rather than to a file.
Examples

To log page visits to a file:

Use the [Log] ... [/Log] tags. The following example logs information about the current visitor to a log file named visits.txt.

[Log: '/logs/visits.txt']
[Server_Date: -Extended] [Server_Time: -Extended] [Client_IP] [Client_Type] [Response_FilePath] [Error_CurrentError]
[/Log]
Tag Link [Log] ... [/Log] Category Utility
Type Container Data Source Any
Support Preferred Version 2.0
Output Type None Security Tag
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25,LDML20

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