| Package | widgetfactory.logging.debuggers |
| Class | public class DefaultWidgetDebugger |
| Inheritance | DefaultWidgetDebugger Object |
| Implements | IWidgetDebugger |
WidgetDebugger class to trace messages with the normal everyday trace() method.
| Property | Defined By | ||
|---|---|---|---|
| widgetName : String [write-only]
The name of the widget which will be displayed next to all traces. | DefaultWidgetDebugger | ||
| Method | Defined By | ||
|---|---|---|---|
clearTraces():void
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 | ||
| widgetName | property |
widgetName:String [write-only] The name of the widget which will be displayed next to all traces.
public function set widgetName(value:String):void| clearTraces | () | method |
public function clearTraces():voidClears debugger of all trace messages, if the debugger has that feature.
| debug | () | method |
public function debug(message:String):voidUsed 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):voidUsed for tracing error messages when the program detects an error.
Parameters
message:String |
| fatal | () | method |
public function fatal(message:String):voidUsed 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):voidUsed for tracing information about the program. Also useful as a highlighted log method.
Parameters
message:String |
| init | () | method |
public function init():voidInitialized the object to connect to the debugger.
| log | () | method |
public function log(message:String):voidUsed for tracing the general application process.
Parameters
message:String |
| trace | () | method |
public function trace(traceObject:Object):voidUsed 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):voidUsed for tracing warnings when the program does something potentially dangerous.
Parameters
message:String |
| widgetFactoryLog | () | method |
public function widgetFactoryLog(message:String):voidUsed by WidgetFactory to trace internal logs.
Parameters
message:String |