Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Web service classes > Log class | |||
ActionScript Class Name mx.services.Log
The Log class is part of the mx.services package and is used with the WebService class (see WebService class). For an overview of the classes in the mx.data.services package, see Web service classes.
|
NOTE |
|
The Log class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
You can create a new Log object to record activity related to a WebService object. To execute code when messages are sent to a Log object, use the Log.onLog() callback function. There is no log file; the logging mechanism is whatever you have used in the onLog() callback function, such as sending the log messages to a trace() statement.
The constructor for this class creates a Log object that can be passed as an optional parameter to the WebService constructor (see WebService class).
The following table lists methods of the PendingCall class.
|
Method |
Description |
|---|---|
|
Returns the current date and time as a string in the following format: |
|
|
Generates a |
|
|
Generates a |
The following table lists properties of the PendingCall class.
|
Property |
Description |
|---|---|
|
The category of information that you want to record in the log. |
|
|
A string name identifying the Log object; included in every |
The following table lists the callback of the Log object.
|
Callback |
Description |
|---|---|
|
Called by Flash Player when a log message is sent to a log file. |
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00003700.html