w3Log

Syntax   Parameters   Example Programs

w3Log provides uniform message logging capability. A log file record has the following fields:

The source to this program is provided allowing modification as needed. However, the user is responsible for the results of all changes. Any changes to the calling sequence will probably cause FlashCONNECT to stop functioning. Any changes to the fields currently written to the log file will probably cause the activity reports to fail. If a different logging procedure is desired, we suggest this program be copied and renamed and the changes be made to the copy.  

Syntax  

call w3Log  (filename , message )  

Parameters

filename

In

The data file in w3Logs where the message is written. If the file doesn't exist it is created with the following settings: logging enabled and a maximum of 100 entries. If the file name isn't specified, the log file is named after the program calling w3Log.

message

In

The message to log.

 

Example Programs

loopback

w3Redirect.calc

w3User.process

w3Rotator.calc

disconnect

w3Concurrent.calc

mvDEchoP

Myapp

w3Sessions.calc

w3Lines.html

restartPool

mvDEcho

w3Contacts.calc