LuminicBox.Log

ConsolePublisher

implements: IPublisher

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.

Property Summary

nullmaxDepth

Constructor Summary

ConsolePublisher()

Method Summary

toString()
publish(e:LogEvent)

Property Details

maxDepth

maxDepth

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

Constructor Details

ConsolePublisher

ConsolePublisher()

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

Method Details

toString

toString():String

Return the publishers type name: "ConsolePublisher".

publish

publish(e:LogEvent):Void

Serializes and sends a log message to the FlashInspector window.