LogEvent

Kind of class:class
Inherits from:BasicEvent
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.log.LogEvent
File last modified:Wednesday, 31 October 2007, 07:35:29
LogEvent defines event model for logging API event.

Summary

Constructor
Class properties
Instance properties
Instance properties inherited from BasicEvent
Instance methods
Instance methods inherited from BasicEvent

Constructor

LogEvent

function LogEvent (
oLevel:LogLevel, channel:LogChannel)
Constructs a new LogEvent instance.
Parameters:
oLevel :
Log level defined by a LogLevel instance
oContent:
Log message
channel :
(optional) A LogChannel instance for
channel filter

Class properties

onLogEVENT

static onLogEVENT:EventType = new EventType("onLog")
(read,write)
Triggers when Logger sends messages to tracer.

Instance properties

content

content
(read,write)
log message.

level

level:LogLevel
(read,write)
message level.

timestamp

timestamp:Number
(read,write)
message timestamp.

Instance methods

toString

function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance