User Guide

Log.logDebug() 1419
Description
Function; generates a log message set by the msg parameter at a log level set by the level
parameter. This method provides a way to create your own log events with any log level.
Example
The following example creates a new Log object. An onLog event with a message indicating
the start of a new log is generated by calling
Log.logDebug().
import mx.services.*;
// Creates a new Log object.
myWebSrvcLog = new Log(Log.VERBOSE, "myLog");
// Handles incoming log messages.
myWebSrvcLog.onLog = function(message : String) : Void
{
trace(message);
}
myWebSrvcLog.logInfo("New Log Started");
// Passes the Log object to the web service.
myWebService = new WebService(wsdlURI, myWebSrvcLog);
Log.logDebug()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myWebSrvcLog.logDebug(msg)
Parameters
msg A log message string. The string you provide in this parameter appears as the log message
in the resulting log event.
Returns
Nothing.