Packagewidgetfactory.logging.debuggers
Classpublic class DefaultWidgetDebugger
InheritanceDefaultWidgetDebugger Inheritance Object
Implements IWidgetDebugger

Works with the WidgetDebugger class to trace messages with the normal everyday trace() method.



Public Properties
 PropertyDefined By
  widgetName : String
[write-only] The name of the widget which will be displayed next to all traces.
DefaultWidgetDebugger
Public Methods
 MethodDefined By
  
Clears debugger of all trace messages, if the debugger has that feature.
DefaultWidgetDebugger
  
debug(message:String):void
Used for tracing messages which are non-permanent and are used to locate a bug in the program.
DefaultWidgetDebugger
  
error(message:String):void
Used for tracing error messages when the program detects an error.
DefaultWidgetDebugger
  
fatal(message:String):void
Used for tracing error messages where the error may cause the program to stop running altogether.
DefaultWidgetDebugger
  
info(message:String):void
Used for tracing information about the program.
DefaultWidgetDebugger
  
init():void
Initialized the object to connect to the debugger.
DefaultWidgetDebugger
  
log(message:String):void
Used for tracing the general application process.
DefaultWidgetDebugger
  
trace(traceObject:Object):void
Used for general traces.
DefaultWidgetDebugger
  
warn(message:String):void
Used for tracing warnings when the program does something potentially dangerous.
DefaultWidgetDebugger
  
widgetFactoryLog(message:String):void
Used by WidgetFactory to trace internal logs.
DefaultWidgetDebugger
Property Detail
widgetNameproperty
widgetName:String  [write-only]

The name of the widget which will be displayed next to all traces.


Implementation
    public function set widgetName(value:String):void
Method Detail
clearTraces()method
public function clearTraces():void

Clears debugger of all trace messages, if the debugger has that feature.

debug()method 
public function debug(message:String):void

Used for tracing messages which are non-permanent and are used to locate a bug in the program. Can also be used as a highlighted log.

Parameters

message:String

error()method 
public function error(message:String):void

Used for tracing error messages when the program detects an error.

Parameters

message:String

fatal()method 
public function fatal(message:String):void

Used for tracing error messages where the error may cause the program to stop running altogether.

Parameters

message:String

info()method 
public function info(message:String):void

Used for tracing information about the program. Also useful as a highlighted log method.

Parameters

message:String

init()method 
public function init():void

Initialized the object to connect to the debugger.

log()method 
public function log(message:String):void

Used for tracing the general application process.

Parameters

message:String

trace()method 
public function trace(traceObject:Object):void

Used for general traces. It is the only trace method that will receive any object and then convert it to a string. All other trace methods will only take a direct string.

Parameters

traceObject:Object

warn()method 
public function warn(message:String):void

Used for tracing warnings when the program does something potentially dangerous.

Parameters

message:String

widgetFactoryLog()method 
public function widgetFactoryLog(message:String):void

Used by WidgetFactory to trace internal logs.

Parameters

message:String