| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
The FlashInspectorLayout class provides a convenient way
to output messages through FlashInspector console.
Example
Add FlashInspectorLayout as Log listener
//Add console for all channels
Logger.getInstance().addLogListener( FlashInspectorLayout.getInstance() );
//Add console for a dedicated channel
Logger.getInstance().addLogListener( FlashInspectorLayout.getInstance(), PixlibDebug.CHANNEL );
Output message
//Simple ouput
Logger.DEBUG( "My message" );
//Channel target
Logger.WARN( "My messsage", PixlibDebug.CHANNEL );
//Channel use
PixlibDebug.ERROR( "My error" );
public static function getInstance():FlashInspectorLayout
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns unique instance.
Returns
public function onLog(e:LogEvent):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Triggered when a log message is sent to the Logger and
the FlashInspector is registered as Log listener.
Parameters
| e:LogEvent — LogEvent event containing information about
the message to log.
|
public function toString():String
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the string representation of this instance.
Returns
| String — the string representation of this instance
|
public const LOCALCONNECTION_ID:String = "_luminicbox_log_console"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
LowRA API documentation 2008- 2009
Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1
mer. févr. 25 2009, 9:22 AM GMT+01:00