Packageorg.as3commons.logging.setup.target
Classpublic final class AlconTarget
InheritanceAlconTarget Inheritance Object
Implements ILogTarget

Since : 2.5.1

AlconTarget sends log statements to the Alcon-Air application.

This will need the alcon.swc which you can aquire with the help in the alcon logger!

Note: This version is built for 3.1.4.

See also

http://www.hexagonstar.com/project/alcon/#download


Public Properties
 PropertyDefined By
  format : String
[write-only]
AlconTarget
Public Methods
 MethodDefined By
  
AlconTarget(format:String = null)
Creates a new AlconTarget instance.
AlconTarget
  
log(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String):void
Renders a log statement.
AlconTarget
Public Constants
 ConstantDefined By
  DEFAULT_FORMAT : String = {time} {logLevel} - {shortName}{atPerson} - {message}
[static] Default format to be used for formatting statements.
AlconTarget
Property Detail
formatproperty
format:String  [write-only]


Implementation
    public function set format(value:String):void
Constructor Detail
AlconTarget()Constructor
public function AlconTarget(format:String = null)

Creates a new AlconTarget instance.

Parameters
format:String (default = null) — Default format to for the logging, if null, it will use the DEFAULT_FORMAT.
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.

Constant Detail
DEFAULT_FORMATConstant
public static const DEFAULT_FORMAT:String = {time} {logLevel} - {shortName}{atPerson} - {message}

Default format to be used for formatting statements.