| Package | com.lightstreamer.as_client.logger |
| Class | public class DataGridAppender |
| Inheritance | DataGridAppender mx.collections.ArrayCollection |
| Implements | LoggerListener |
See also
| Method | Defined by | ||
|---|---|---|---|
|
DataGridAppender(level:uint = 0, maxLines:uint = 250)
Constructor for DataGridAppender.
| DataGridAppender | ||
|
clear():void
Removes all log lines from internal structures.
| DataGridAppender | ||
|
getLevel():uint
Return the actual threshold level of the listener instance.
| DataGridAppender | ||
|
Receive log messages from the Logger instances to which it was added and from their sons.
| DataGridAppender | ||
|
Change the threshold level for the listener.
| DataGridAppender | ||
| DataGridAppender | () | constructor |
public function DataGridAppender(level:uint = 0, maxLines:uint = 250)Constructor for DataGridAppender.
Parameterslevel:uint (default = 0) — the threshold level at which the DataGridAppender is created.
It should be one of DEBUG INFO WARN ERROR.
|
|
maxLines:uint (default = 250) — the maximum number of log lines to be stored on the internal structure.
Once this limit is reached, older lines are deleted.
|
See also
| clear | () | method |
public function clear():voidRemoves all log lines from internal structures. It is just an alias for the removeAll method.
See also
| getLevel | () | method |
public function getLevel():uintReturn the actual threshold level of the listener instance. This method is used by the Logger engine to determine whether or not to send a message to the listener.
Returnsuint — the level of the listener instance. It should be one of DEBUG INFO WARN ERROR.
|
| log | () | method |
public function log(loggerName:String, level:String, mex:String):voidReceive log messages from the Logger instances to which it was added and from their sons.
ParametersloggerName:String — the name of the Logger instance that has published the message.
|
|
level:String — the string version of the level of the message.
|
|
mex:String — the message.
|
| setLevel | () | method |
public function setLevel(level:uint):voidChange the threshold level for the listener.
Parameterslevel:uint — the new threshold level. It should be one of
DEBUG INFO WARN ERROR.
|