Packagede.flamelab.log
Classpublic class LogEvent
InheritanceLogEvent Inheritance flash.events.Event

Event class for log event. For each logging action an log event is generated automatically by the log instance. This event is passed to all writers and stores all necessary log data.



Public Properties
 PropertyDefined by
  code : String
Event code, string representation of priority
LogEvent
  message : Object
Event message
LogEvent
  priority : int
Event priority
LogEvent
  timestamp : String
Event timestamp
LogEvent
Public Methods
 MethodDefined by
  
LogEvent(type:String, msg:Object, prio:int, time:String)
Constructor, creates a new event
LogEvent
  
clone():Event
Override parants clone method.
LogEvent
  
toString():String
Override parents toString method for identifying this error
LogEvent
Public Constants
 ConstantDefined by
  LOG : String = "log"
[static] Event identification
LogEvent
Property detail
codeproperty
public var code:String

Event code, string representation of priority

messageproperty 
public var message:Object

Event message

priorityproperty 
public var priority:int

Event priority

timestampproperty 
public var timestamp:String

Event timestamp

Constructor detail
LogEvent()constructor
public function LogEvent(type:String, msg:Object, prio:int, time:String)

Constructor, creates a new event

Parameters
type:String — Event identificator
 
msg:Object — Object containing the error data
 
prio:int — Log priority
 
time:String — Timestamp of log event
Method detail
clone()method
public override function clone():Event

Override parants clone method. Necessary for custom events.

Returns
Event — Event New event
toString()method 
public override function toString():String

Override parents toString method for identifying this error

Returns
String — String String representation of event data
Constant detail
LOGconstant
public static const LOG:String = "log"

Event identification