Flash 8 Documentation |
|||
| Components Language Reference > Web service classes (Flash Professional only) > Log class (Flash Professional only) | |||
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 (Flash Professional only)). For an overview of the classes in the mx.data.services package, see Web service classes (Flash Professional only).
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 (Flash Professional only)).
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. |
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00004237.html