Syntax Parameters Example Programs
w3Log provides uniform message logging capability. A log file record has the following fields:
The date the message was written (internal format).
The time the message was written (internal format).
The D3 port.
The D3 user.
The D3 account .
The FlashCONNECT user (if any).
The w3ProfileId value (if any).
The Unix errno value (if any).
The program which called this subroutine.
The IP address of the system making the request.
The message.
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.
call w3Log (filename , message )
|
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