Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > Log class | |||
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.
|
Method |
Description |
|---|---|
|
Invoked when a log message is sent to a log. |
Flash Media Server 2.
new Log([logLevel][,logName])
logLevel Level must be set to one of the following (if not set explicitly, the level defaults to Log.BRIEF):
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.logName An optional parameter that can be used to distinguish between multiple logs that are running simultaneously to the same output.
A Log object.
Constructor; creates a Log object that can be passed as an optional parameter to the constructor for the WebService class.
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