| Package | com.adobe.csxs.logging.targets |
| Class | public class LocalConnectionTarget |
| Inheritance | LocalConnectionTarget mx.logging.targets.LineFormattedTarget |
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()");
| Method | Defined by | ||
|---|---|---|---|
|
LocalConnectionTarget(connectionName:String)
Creates a local logging target.
| LocalConnectionTarget | ||
|
logEvent(event:LogEvent):void
Sends a log message to this log target.
| LocalConnectionTarget | ||
| Constant | Defined by | ||
|---|---|---|---|
| LOGGING_METHOD : String = "logMessage" [static]
Logging method constant, used in sending a log message.
| LocalConnectionTarget | ||
| LocalConnectionTarget | () | constructor |
public function LocalConnectionTarget(connectionName:String)Creates a local logging target.
ParametersconnectionName:String — The name.
|
| logEvent | () | method |
public override function logEvent(event:LogEvent):voidSends a log message to this log target.
Parametersevent:LogEvent — A log event object that contains the time stamp,
category, level, and message.
|
| LOGGING_METHOD | constant |
public static const LOGGING_METHOD:String = "logMessage"Logging method constant, used in sending a log message.