| Package | vegas.logging.targets |
| Class | public class LuminicTarget |
| Inheritance | LuminicTarget LineFormattedTarget AbstractTarget CoreEventDispatcher CoreObject |
| Property | Defined by | ||
|---|---|---|---|
![]() | channel : String
Indicates the channel of this dispatcher if this instance is global.
| CoreEventDispatcher | |
![]() | charPlacement : String = "'*' must be the right most character." [static]
The static field used when throws an Error when the character placement failed.
| AbstractTarget | |
![]() | charsInvalid : String = "The following characters are not valid: []~$^&/(){}<>+=_-`!@#%?,:;'\" [static]
The static field used when throws an Error when a character is invalid.
| AbstractTarget | |
![]() | errorFilter : String = "Error for filter ''{0}'" [static]
The static field used when throws an Error when filter failed.
| AbstractTarget | |
![]() | filters : Array
(read-write) Returns the filters array representation of this target.
| AbstractTarget | |
![]() | includeCategory : Boolean = false
Indicates if the category for this target should added to the trace.
| LineFormattedTarget | |
![]() | includeDate : Boolean = false
Indicates if the date should be added to the trace.
| LineFormattedTarget | |
![]() | includeLevel : Boolean = false
Indicates if the level for the event should added to the trace.
| LineFormattedTarget | |
![]() | includeLines : Boolean = false
Indicates if the line for the event should added to the trace.
| LineFormattedTarget | |
![]() | includeMilliseconds : Boolean = false
Indicates if the milliseconds should be added to the trace.
| LineFormattedTarget | |
![]() | includeTime : Boolean = false
Indicates if the time should be added to the trace.
| LineFormattedTarget | |
| isCollapse : Boolean
Indicated if the console use collapse property or not.
| LuminicTarget | ||
![]() | isGlobal : Boolean
(read-only) Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
![]() | level : LogEventLevel
(read-write) Returns the level of this target.
| AbstractTarget | |
| maxDepth : uint
(read-only) Returns the max depth to collaspe the structure of an object in the console.
| LuminicTarget | ||
![]() | separator : String = " "
The separator string.
| LineFormattedTarget | |
| Method | Defined by | ||
|---|---|---|---|
|
LuminicTarget(collapse:Boolean = false, depth:uint = 4)
Creates a new LuminicTarget instance.
| LuminicTarget | ||
![]() |
addCategory(category:String):Boolean
Insert a category in the fllters if this category don't exist.
| AbstractTarget | |
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target.
| CoreEventDispatcher | |
![]() |
Sets up this target with the specified logger.
| AbstractTarget | |
![]() |
addNamespace(nameSpace:String):Boolean
Add a new namespace in the filters array.
| AbstractTarget | |
![]() |
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| CoreEventDispatcher | |
![]() |
Returns the internal
EventDispatcher reference. | CoreEventDispatcher | |
![]() |
getIsGlobal():Boolean
Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| CoreEventDispatcher | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
![]() |
Creates and returns the internal
EventDispatcher reference (this method is invoked in the constructor). | CoreEventDispatcher | |
![]() |
internalLog(message:*, level:LogEventLevel):void
Descendants of this class should override this method to direct the specified message to the desired output.
| LineFormattedTarget | |
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreEventDispatcher | |
![]() |
lock():void
Locks the object.
| CoreEventDispatcher | |
|
This method handles a
LogEvent from an associated logger. | LuminicTarget | ||
![]() |
registerEventListener(type:String, listener:Boolean, useCapture:int = false, priority:Boolean = 0, useWeakReference:* = false):void
Allows the registration of event listeners on the event target (Function or EventListener).
| CoreEventDispatcher | |
![]() |
removeCategory(category:String):Boolean
Remove a category in the fllters if this category exist.
| AbstractTarget | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| CoreEventDispatcher | |
![]() |
removeLogger(logger:ILogger):void
Stops this target from receiving events from the specified logger.
| AbstractTarget | |
![]() |
removeNamespace(nameSpace:String):Boolean
Removes an existing namespace in the filters array.
| AbstractTarget | |
![]() |
setEventDispatcher(e:EventDispatcher):void
Sets the internal
EventDispatcher reference. | CoreEventDispatcher | |
![]() |
setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global
EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreEventDispatcher | |
![]() |
toString():String
Returns the string representation of this instance.
| CoreObject | |
![]() |
unlock():void
Unlocks the display.
| CoreEventDispatcher | |
![]() |
unregisterEventListener(type:String, listener:Boolean, useCapture:* = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
| CoreEventDispatcher | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| CoreEventDispatcher | |
| Constant | Defined by | ||
|---|---|---|---|
| CONNECTION_ID : String = "_luminicbox_log_console" [static]
The id of the local connection.
| LuminicTarget | ||
| DISPATCH_MESSAGE : String = "log" [static]
The name of the dispatch message.
| LuminicTarget | ||
| isCollapse | property |
public var isCollapse:BooleanIndicated if the console use collapse property or not.
| maxDepth | property |
maxDepth:uint [read-write](read-only) Returns the max depth to collaspe the structure of an object in the console.
Implementation public function get maxDepth():uint
public function set maxDepth(value:uint):void
| LuminicTarget | () | constructor |
public function LuminicTarget(collapse:Boolean = false, depth:uint = 4)Creates a new LuminicTarget instance.
Parameterscollapse:Boolean (default = false) |
|
depth:uint (default = 4) |
| logEvent | () | method |
public override function logEvent(event:LogEvent):void
This method handles a LogEvent from an associated logger.
A target uses this method to translate the event into the appropriate
format for transmission, storage, or display.
This method will be called only if the event's level is in range of the target's level.
event:LogEvent |
| CONNECTION_ID | constant |
public static const CONNECTION_ID:String = "_luminicbox_log_console"The id of the local connection.
| DISPATCH_MESSAGE | constant |
public static const DISPATCH_MESSAGE:String = "log"The name of the dispatch message.