Packagemx.logging.targets
Classpublic class MiniDebugTarget
InheritanceMiniDebugTarget Inheritance LineFormattedTarget Inheritance AbstractTarget Inheritance Object

Provides a logger target that outputs to a LocalConnection, connected to the MiniDebug application.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedfieldSeparator : String = " "
The separator string to use between fields (the default is " ")
LineFormattedTarget
 Inheritedfilters : Array
In addition to the level setting, filters are used to provide a psuedo-hierarchical mapping for processing only those events for a given category.
AbstractTarget
 Inheritedid : String
[read-only] Provides access to the id of this target.
AbstractTarget
 InheritedincludeCategory : Boolean
Indicates if the category for this target should added to the trace.
LineFormattedTarget
 InheritedincludeDate : Boolean
Indicates if the date should be added to the trace.
LineFormattedTarget
 InheritedincludeLevel : Boolean
Indicates if the level for the event should added to the trace.
LineFormattedTarget
 InheritedincludeTime : Boolean
Indicates if the time should be added to the trace.
LineFormattedTarget
 Inheritedlevel : int
Provides access to the level this target is currently set at.
AbstractTarget
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
MiniDebugTarget(connection:String = "_mdbtrace", method:String = "trace")
Constructor.
MiniDebugTarget
 Inherited
Sets up this target with the specified logger.
AbstractTarget
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Called after the implementing object has been created and all properties specified on the tag have been assigned.
AbstractTarget
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
[override] This method handles a LogEvent from an associated logger.
LineFormattedTarget
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Stops this target from receiving events from the specified logger.
AbstractTarget
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail
MiniDebugTarget()Constructor
public function MiniDebugTarget(connection:String = "_mdbtrace", method:String = "trace")

Constructor.

Constructs an instance of a logger target that will send the log data to the MiniDebug application.

Parameters
connection:String (default = "_mdbtrace") — Specifies where to send the logging information. This value is the name of the connection specified in the LocalConnection.connect() method call in the remote SWF, that can receive calls to a log() method with the following signature:
        log(... args:Array)
      
Each value specified in the args Array is a String.
 
method:String (default = "trace") — Specifies what method to call on the remote connection.