Packageorg.as3commons.logging.setup.target
Classpublic class OSMFTarget
InheritanceOSMFTarget Inheritance Object
Implements ILogTarget

Since : 2.5.2

Sends log statements to the Open source media frameworks logging system.
       LOGGER_FACTORY.setup = new SimpleTargetSetup( new OSMFTarget );
     

See also

http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Logging
http://osmf.org/dev/osmf/specpdfs/LoggingFrameworkSpecification.pdf
org.as3commons.logging.integration.OSMFIntegration


Public Methods
 MethodDefined By
  
log(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String):void
Renders a log statement.
OSMFTarget
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.