Packagecom.adobe.csxs.logging.targets
Classpublic class LocalConnectionTarget
InheritanceLocalConnectionTarget Inheritance mx.logging.targets.LineFormattedTarget

Defines event log settings, and allows you to send log messages using a local connection (the logging target).


Example
  var loggingTarget:LocalConnectionTarget = new LocalConnectionTarget("csxs2");
     loggingTarget.filters=["];
     loggingTarget.level = LogEventLevel.ALL;
     loggingTarget.includeDate = true;
     loggingTarget.includeTime = true;
     loggingTarget.includeCategory = true;
     loggingTarget.includeLevel = true;
     
     logger = Log.getLogger(this.className);
     
     logger.info("calling init()");
  



Public Methods
 MethodDefined by
  
LocalConnectionTarget(connectionName:String)
Creates a local logging target.
LocalConnectionTarget
  
logEvent(event:LogEvent):void
Sends a log message to this log target.
LocalConnectionTarget
Public Constants
 ConstantDefined by
  LOGGING_METHOD : String = "logMessage"
[static] Logging method constant, used in sending a log message.
LocalConnectionTarget
Constructor detail
LocalConnectionTarget()constructor
public function LocalConnectionTarget(connectionName:String)

Creates a local logging target.

Parameters
connectionName:String — The name.
Method detail
logEvent()method
public override function logEvent(event:LogEvent):void

Sends a log message to this log target.

Parameters
event:LogEvent — A log event object that contains the time stamp, category, level, and message.
Constant detail
LOGGING_METHODconstant
public static const LOGGING_METHOD:String = "logMessage"

Logging method constant, used in sending a log message.