DebugUtils

Kind of class:public class
Package:com.trycatch.utils
Inherits from:Object
Author:Denny Mcentire
Classpath:com.trycatch.utils.DebugUtils
File last modified:Monday, 08 June 2009, 17:42:35
Class description.
@langversion ActionScript 3.0@playerversion Flash 9.0
Since:
  • 01.04.2008

Summary


Constructor
Class properties
Class methods
  • log (_s:String) : void
    • Based on doTrace and doFirebugConsole properties, determines whether or not to trace to the Flash console and the Firebug console
  • traceConsole (_s:String) : void
    • Traces the supplied string to the Firebug console

Constructor

DebugUtils

public function DebugUtils (
)

ActionScript 3 provides no protection against accidental instantiation of more than
one instance as the constructor has to be public.
@constructor

Class properties

doAIRTrace

public static doAIRTrace:Boolean = false
(read,write)

doFirebugConsole

public static doFirebugConsole:Boolean = false
(read,write)

Whehter or not to trace to the Firebug console

doTrace

public static doTrace:Boolean = true
(read,write)

Whether or not to trace to the Flash console

Class methods

log

public static function log (
_s:String) : void

Based on doTrace and doFirebugConsole properties, determines whether or not to trace to the Flash console and the Firebug console
Parameters:
_s:
The string to trace

traceConsole

public static function traceConsole (
_s:String) : void

Traces the supplied string to the Firebug console
Parameters:
_s:
The string to trace