Packageuk.msfx.utils.tracing.core
Classpublic class TrSettings
InheritanceTrSettings Inheritance Object

A 'Singleton Class' to store the settings across the Tr.ace() library.

Thanks to Grant Skinner for his article on Singletons - http://gskinner.com/blog/archives/2006/07/as3_singletons.html.



Public Properties
 PropertyDefined By
  arrayAndObjectLinebreaks : Boolean
Toggle whether a line break will be added at the beginning and end of a Tr.aceArray() or Tr.aceObject() call.
TrSettings
  console : TextField
Textfield to print the output into
TrSettings
  enabled : Boolean
Toggle whether the output is on or off.
TrSettings
  ignoreClasses : Array
An Array of Classes (Class) that you wish the output to ignore.
TrSettings
  ignoreUsers : Array
An Array of Users (String) that you wish the output to ignore.
TrSettings
  restrictToClasses : Array
An Array of Classes (Class) that you wish the output to be restricted to.
TrSettings
  restrictToUsers : Array
An Array of users (Strings) that you wish the output to be restricted to.
TrSettings
  useLineBreaks : Boolean
Toggle whether the output has line breaks inbetween each trace.
TrSettings
  useTimeStamp : Boolean
Toggle whether each trace feautures a timestamp (HH:MM:SS:MS).
TrSettings
Public Methods
 MethodDefined By
  
Constructor.
TrSettings
  
[static] Returns the instance of this TrSettings Class
TrSettings
Property Detail
arrayAndObjectLinebreaksproperty
public var arrayAndObjectLinebreaks:Boolean

Toggle whether a line break will be added at the beginning and end of a Tr.aceArray() or Tr.aceObject() call.

consoleproperty 
public var console:TextField

Textfield to print the output into

enabledproperty 
public var enabled:Boolean

Toggle whether the output is on or off.

ignoreClassesproperty 
public var ignoreClasses:Array

An Array of Classes (Class) that you wish the output to ignore.

ignoreUsersproperty 
public var ignoreUsers:Array

An Array of Users (String) that you wish the output to ignore.

restrictToClassesproperty 
public var restrictToClasses:Array

An Array of Classes (Class) that you wish the output to be restricted to.

restrictToUsersproperty 
public var restrictToUsers:Array

An Array of users (Strings) that you wish the output to be restricted to.

useLineBreaksproperty 
public var useLineBreaks:Boolean

Toggle whether the output has line breaks inbetween each trace.

useTimeStampproperty 
public var useTimeStamp:Boolean

Toggle whether each trace feautures a timestamp (HH:MM:SS:MS).

Constructor Detail
TrSettings()Constructor
public function TrSettings()

Constructor.

Method Detail
getInstance()method
public static function getInstance():TrSettings

Returns the instance of this TrSettings Class

Returns
TrSettings — TrSettings