Provides a logger that writes messages to the SOS console.
In order to use this logger, add an instance to the Log as a target as follows:
var sosTarget:SOSTarget = new SOSTarget();
Log.addTarget(sosTarget);
Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1
public var debugColor:Number
public var errorColor:Number
public var fatalColor:Number
public var foldMessages:Boolean = true
public var infoColor:Number
public var warningColor:Number
public function SOSTarget(host:String = "localhost", port:uint = 4445)
Creates a new SOSTarget instance.
Parameters
| host:String (default = "localhost") — A fully qualified DNS domain name or an IP address in the form aaa.bbb.ccc.ddd. You can also specify null to connect to the host server on which the SWF file resides. If the SWF file issuing this call is running in a web browser, host must be in the same domain as the SWF file.
|
| |
| port:uint (default = 4445) — The TCP port number on the host used to establish a connection. The port number must be 1024 or greater, unless a policy file is being used.
|
public function onXMLSocketConnect(event:Event):voidParameters
public function onXMLSocketIOError(event:IOErrorEvent):voidParameters
Spring ActionScript 0.7 - 2009