MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manuale Utente Pagina 92

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 91
89
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Availability
Flash Media Server 2
Event handler summary
Log constructor
new Log([logLevel][, logName])
Creates a Log object that can be passed as an optional parameter to the constructor for the WebService class.
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
simultaneously 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.
Event handler Description
Log.onLog() Invoked when a log message is sent to a log.
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.
Vedere la pagina 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 171 172

Commenti su questo manuale

Nessun commento