Packageuk.msfx.utils.tracing.core
Classpublic class TrCore
InheritanceTrCore Inheritance Object

The core Class for managing and formatting the output for Tr.ace().



Public Methods
 MethodDefined By
  
Constructor, initializes the Class, applying all the settings from the settings instance.
TrCore
  
clearLog():void
Clear the log
TrCore
  
out(output:*, user:String, withinClass:* = null, startWithLineBreak:Boolean = false, endWithLineBreak:Boolean = false):void
Function to format and trace to the output console.
TrCore
  
outArray(output:Array, user:String, withinClass:* = null, level:int = 0):void
Function to format and trace the contents of an Array to the console.
TrCore
  
outMulti(values:Array, user:String, withinClass:* = null):void
Function to trace multiple values out, seperated by commas.
TrCore
  
outObject(output:Object, user:String, withinClass:* = null, level:int = 0):void
Function to format and trace the contents of an Object to the console.
TrCore
Constructor Detail
TrCore()Constructor
public function TrCore()

Constructor, initializes the Class, applying all the settings from the settings instance.

Method Detail
clearLog()method
public function clearLog():void

Clear the log

out()method 
public function out(output:*, user:String, withinClass:* = null, startWithLineBreak:Boolean = false, endWithLineBreak:Boolean = false):void

Function to format and trace to the output console.

Parameters

output:* — The output that you wish to trace to the console
 
user:StringOPTIONAL: The name of the user tracing the output
 
withinClass:* (default = null)OPTIONAL: The name of the Class the output is being traced from
 
startWithLineBreak:Boolean (default = false)OPTIONAL: Whether to start the trace with a line break
 
endWithLineBreak:Boolean (default = false)OPTIONAL: Whether to end the trace with a line break

outArray()method 
public function outArray(output:Array, user:String, withinClass:* = null, level:int = 0):void

Function to format and trace the contents of an Array to the console.

Parameters

output:Array — The Array that you wish to trace to the console
 
user:StringOPTIONAL: The name of the user tracing the output
 
withinClass:* (default = null)OPTIONAL: The name of the Class being traced from
 
level:int (default = 0)OPTIONAL: How many levels the current Array is (support for nested arrays)

outMulti()method 
public function outMulti(values:Array, user:String, withinClass:* = null):void

Function to trace multiple values out, seperated by commas.

Parameters

values:Array — Array of values to be traced out
 
user:StringOPTIONAL: The user tracing the values
 
withinClass:* (default = null)OPTIONAL: The class being traced from

outObject()method 
public function outObject(output:Object, user:String, withinClass:* = null, level:int = 0):void

Function to format and trace the contents of an Object to the console.

Parameters

output:Object — The Object that you wish to trace to the console
 
user:StringOPTIONAL: The name of the user tracing the output
 
withinClass:* (default = null)OPTIONAL: The name of the Class being traced from
 
level:int (default = 0)OPTIONAL: How many levels the current Object is (support for nested Objects)