ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.gravity.service.logging 

ILogDestination  - AS3 ADEP Client Component

Packagecom.adobe.gravity.service.logging
Interfacepublic interface ILogDestination

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Service interface for log destinations. Implement and register an ILogDestination service if you wish to receive log messages.



Public Methods
 MethodDefined By
  
log(level:int, timestamp:Date, sequence:Number, bundleId:int, loggerName:String, message:String, params:Object, actor:Object, error:Error):void
Log a message.
ILogDestination
Method Detail

log

()method
public function log(level:int, timestamp:Date, sequence:Number, bundleId:int, loggerName:String, message:String, params:Object, actor:Object, error:Error):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Log a message.

Parameters

level:int — The log level of the message, for example LogLevel.WARNING.
 
timestamp:Date — The timestamp for the log message.
 
sequence:Number — A sequence number for absolutely ordering all log messages (generally generated by Sequence.next()).
 
bundleId:int — The bundle that logged the message.
 
loggerName:String — The name of the logger.
 
message:String — The message to be logged. May contain {param} parameters to be substituted; use FormatMessage to perform the substitution.
 
params:Object — Any parameters that might need to be substituted into the message, and possibly other parameters that might be of interest. May be null.
 
actor:Object — The object instance that logged the message. May be null.
 
error:Error — If an error is being logged, the Error object. Otherwise null.