Packageorg.as3commons.logging.setup.target
Classpublic final class FlexLogTarget
InheritanceFlexLogTarget Inheritance Object
Implements ILogTarget

Since : 2.0

Target that sends the targets to the mx.logging log system from Flex.



Public Methods
 MethodDefined By
  
FlexLogTarget
  
log(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String):void
Renders a log statement.
FlexLogTarget
Constructor Detail
FlexLogTarget()Constructor
public function FlexLogTarget()



Method Detail
log()method
public function log(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String):void

Renders a log statement.

In version 2.5 the person information was added and the time stamp was modified to represent the local time rather than the time in gmt. Add START_TIME to get the time in ms since 1970.

Parameters

name:String — Name of the logger that triggered the log statement.
 
shortName:String — Shortened form of the name.
 
level:int — Level of the log statement that got triggered.
 
timeStamp:Number — getTimer() Timestame of when the log statement was triggered.
 
message:* — Message of the log statement.
 
parameters:Array — Parameters for the log statement.
 
person:String — Information about the person that filed this log statement.