| Package | org.spicefactory.lib.logging |
| Class | public class LogEvent |
| Inheritance | LogEvent flash.events.Event |
Logger instance.
| Property | Defined by | ||
|---|---|---|---|
| error : Error [read-only]
An optional Error instance associated with this LogEvent.
| LogEvent | ||
| level : LogLevel
[read-only]
The level for this event.
| LogEvent | ||
| message : String [read-only]
The message for this event.
| LogEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new instance.
| LogEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| LOG : String = "log" [static]
Constant for the type of event fired when
a log method is invoked in a
Logger instance. | LogEvent | ||
| error | property |
error:Error [read-only]An optional Error instance associated with this LogEvent.
Implementation public function get error():Error
| level | property |
level:LogLevel [read-only]The level for this event.
Implementation public function get level():LogLevel
| message | property |
message:String [read-only]The message for this event.
Implementation public function get message():String
| LogEvent | () | constructor |
public function LogEvent(level:LogLevel, message:String, error:Error = null)Creates a new instance.
Parameterslevel:LogLevel — the level that is associated with this event
|
|
message:String — the log message for this event
|
|
error:Error (default = null) — an optional Error instance associated with this event
|
| LOG | constant |
public static const LOG:String = "log"
Constant for the type of event fired when
a log method is invoked in a Logger instance.