Log.name

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

myWebServiceName = myWebSrvcLog.name

Description

Property; a string identifying the Log instance; included in every Log.onLog event message. This property can be both get and set. It is usually set when creating a new Log object. See Log class.)

Example

The following example creates a new Log object with a Log.level property of Log.VERBOSE and a name of "myLog". The current Log.name property is traced. Then the Log object's Log.name property is set to "myNewLogName".

import mx.services.*;
// Creates a new Log object.
myWebSrvcLog = new Log(Log.VERBOSE, "myLog");
trace("myWebSrvcLog.level: "+ myWebSrvcLog.level);

// Sets a new name for the Log object.
myWebSrvcLog.name = "myNewLogName";
trace("myWebSrvcLog.name: " + myWebSrvcLog.name);

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/00003706.html