Package | com.lightstreamer.as_client.logger |
Class | public class TraceAppender |
Inheritance | TraceAppender Object |
Implements | LoggerListener |
See also
Method | Defined By | ||
---|---|---|---|
TraceAppender(level:uint)
Constructor for TraceAppender. | TraceAppender | ||
getLevel():uint
Return the actual threshold level of the listener instance. | TraceAppender | ||
log(loggerName:String, level:String, mex:String):void
Receive log messages from the Logger instances to which it was added and from their sons. | TraceAppender | ||
logAbsoluteTime(absolute:Boolean):void
Select whether to log lines with the absolute time, that is the time obtained from the
time parameter of a Date instance, or with the number of milliseconds from the start of
the flash application. | TraceAppender | ||
setLevel(level:uint):void
Change the threshold level for the listener. | TraceAppender |
TraceAppender | () | Constructor |
public function TraceAppender(level:uint)
Constructor for TraceAppender.
Parameterslevel:uint — the threshold level at which the TraceAppender is created.
It should be one of DEBUG INFO WARN ERROR.
|
See also
getLevel | () | method |
public function getLevel():uint
Return 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):void
Receive log messages from the Logger instances to which it was added and from their sons.
Parameters
loggerName: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.
|
logAbsoluteTime | () | method |
public function logAbsoluteTime(absolute:Boolean):void
Select whether to log lines with the absolute time, that is the time obtained from the time parameter of a Date instance, or with the number of milliseconds from the start of the flash application.
Parameters
absolute:Boolean — true or false to use or not the absolute time.
|
See also
setLevel | () | method |
public function setLevel(level:uint):void
Change the threshold level for the listener.
Parameters
level:uint — the new threshold level. It should be one of
DEBUG INFO WARN ERROR.
|
See also