
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
68
Availability
Flash Media Server 2
Parameters
logLevel One of the following values (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 simulta-
neously to the same output.
Returns
A Log object.
Example
The following example creates a new instance of the Log class:
newLog = new Log();
Log.onLog()
myLog.onLog(message){}
Invoked when a log message is sent to a log.
Availability
Flash Media Server 2
Parameters
message A log message.
NetConnection class
The server-side NetConnection class lets you create a two-way connection between a Flash Media Server application
instance and an application server, another Flash Media Server, or another Flash Media Server application instance
on the same server. You can use NetConnection objects to create powerful applications; for example, you can get
weather information from an application server or share an application load with other servers that are running
Flash Media Server or application instances.
Availability
Flash Communication Server 1
Value Description
Log.BRIEF Primary life cycle event and error notifications are received.
Log.VERBOSE All life cycle event and error notifications are received.
Log.DEBUG Metrics and fine-grained events and errors are received.
Commenti su questo manuale