Packagevegas.logging
Classpublic class LogEvent
InheritanceLogEvent Inheritance flash.events.Event

Represents the log information for a single logging event. The loging system dispatches a single event each time a process requests information be logged. This event can be captured by any object for storage or formatting.



Public Properties
 PropertyDefined by
  level : LogEventLevel
Provides access to the level for this log event.
LogEvent
  message : *
Provides access to the message that was logged.
LogEvent
Public Methods
 MethodDefined by
  
LogEvent(context:*, level:LogEventLevel)
Creates a new LogEvent.
LogEvent
  
clone():Event
Returns the shallow copy of the event.
LogEvent
  
[static] Returns a string value representing the level specified.
LogEvent
Public Constants
 ConstantDefined by
  LOG : String = "log"
[static] Event type constant, identifies a logging event.
LogEvent
Property detail
levelproperty
public var level:LogEventLevel

Provides access to the level for this log event.

messageproperty 
public var message:*

Provides access to the message that was logged.

Constructor detail
LogEvent()constructor
public function LogEvent(context:*, level:LogEventLevel)

Creates a new LogEvent.

Parameters
context:*
 
level:LogEventLevel
Method detail
clone()method
public override function clone():Event

Returns the shallow copy of the event.

Returns
Event — the shallow copy of the LogEvent event.
getLevelString()method 
public static function getLevelString(value:LogEventLevel):String

Returns a string value representing the level specified.

Parameters
value:LogEventLevel

Returns
String
Constant detail
LOGconstant
public static const LOG:String = "log"

Event type constant, identifies a logging event.