Packagewidgetfactory.logging
Interfacepublic interface IWidgetDebugger
Implementors DefaultWidgetDebugger, WidgetArthropodDebugger, WidgetMonsterDebugger

An interface used for objects that work with the WidgetDebugger class to connect to an external debugger.

See also

WidgetDebugger


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

See also

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

See also

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

See also

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