Packageorg.as3commons.logging.setup.target
Classpublic final class LogStatement
InheritanceLogStatement Inheritance Object

Since : 2

LogStatement is a data holder for the content of one log statement.

See also

org.as3commons.logging.setup.target.BufferTarget


Public Properties
 PropertyDefined By
  doClone : Boolean
LogStatement
  level : int
Level of the log statement that got triggered.
LogStatement
  message : *
Message of the log statement.
LogStatement
  name : String
Name of the logger that triggered the log statement.
LogStatement
  parameters : Array
Parameters for the log statement.
LogStatement
  person : String
Information about the person that logged this.
LogStatement
  shortName : String
Shortened form of the name.
LogStatement
  timeStamp : Number
Time stamp of when the log statement got triggered.
LogStatement
Public Methods
 MethodDefined By
  
LogStatement(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String, introspectDepth:uint, clone:Boolean = true)
Constructs a new LogStatement containing the content of a logging statement.
LogStatement
Property Detail
doCloneproperty
public var doClone:Boolean

levelproperty 
public var level:int

Level of the log statement that got triggered.

messageproperty 
message:*

Message of the log statement. (stored as cloned)


Implementation
    public function get message():*
    public function set message(value:any):void
nameproperty 
public var name:String

Name of the logger that triggered the log statement.

parametersproperty 
parameters:Array

Parameters for the log statement.


Implementation
    public function get parameters():Array
    public function set parameters(value:Array):void
personproperty 
public var person:String

Information about the person that logged this.

shortNameproperty 
public var shortName:String

Shortened form of the name.

timeStampproperty 
public var timeStamp:Number

Time stamp of when the log statement got triggered.

Constructor Detail
LogStatement()Constructor
public function LogStatement(name:String, shortName:String, level:int, timeStamp:Number, message:*, parameters:Array, person:String, introspectDepth:uint, clone:Boolean = true)

Constructs a new LogStatement containing the content of a logging statement.

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 — Time stamp of when the log statement got 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.
 
introspectDepth:uint — Depth to which the passed in objects should be introspected.
 
clone:Boolean (default = true)true if the target should actually introspect and clone the statements