Log class

Availability

Flash Media Server 2.

The Log class lets you create a Log object that can be passed as an optional argument to the constructor for the WebService class. For more information, see Constructor for the WebService class.

Event handler summary for the Log class

Method

Description

Log.onLog

Invoked when a log message is sent to a log.

Constructor for the Log class

Availability

Flash Media Server 2.

Usage

new Log([logLevel][, logName])

Parameters

logLevel Level must be set to one of the following (if not set explicitly, the level defaults to Log.BRIEF):

logName An optional parameter that can be used to distinguish between multiple logs that are running simultaneously to the same output.

Returns

A Log object.

Description

Constructor; creates a Log object that can be passed as an optional parameter to the constructor for the WebService class.

Example

The following example creates a new instance of the Log class:

newLog = new Log();

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fms/2/docs/00000734.html