Packagecom.luminicbox.log
Classpublic class ConsolePublisher
ImplementsIPublisher

Publishes logging messages into the FlashInspector (if available)
This publisher can be used in any enviroment as long as the FlashInspector is running. It can be used from inside the Flash editor or from the final production enviroment. This allows to see the logging messages even after the final SWF is in production.



Public Properties
 PropertyDefined by
  maxDepth : Number
Sets the max.
ConsolePublisher
Public Methods
 MethodDefined by
  
Creates a ConsolePublisher instance with a default max.
ConsolePublisher
  
publish(e:LogEvent):void
Serializes and sends a log message to the FlashInspector window.
ConsolePublisher
  
toString():String
Return the publishers type name: "ConsolePublisher".
ConsolePublisher
Property detail
maxDepthproperty
maxDepth:Number  [read-write]

Sets the max. inspection depth.
The default value is 4. The max. valid value is 255.

Implementation
    public function get maxDepth():Number
    public function set maxDepth(value:Number):void
Constructor detail
ConsolePublisher()constructor
public function ConsolePublisher()

Creates a ConsolePublisher instance with a default max. inspection depth of 4.

Method detail
publish()method
public function publish(e:LogEvent):void

Serializes and sends a log message to the FlashInspector window.

Parameters
e:LogEvent
toString()method 
public function toString():String

Return the publishers type name: "ConsolePublisher".

Returns
String