Packagecom.lightstreamer.as_client.logger
Interfacepublic interface LoggerListener
Implementors DataGridAppender, TraceAppender

LoggerListener is the interface to be implemented for an object to be used as a listener for the Logger class.

See also

com.lightstreamer.as_client.logger.Logger


Public Methods
 MethodDefined By
  
getLevel():uint
Return the actual threshold level of the listener instance.
LoggerListener
  
log(loggerName:String, level:String, mex:String):void
Receive log messages from the Logger instances to which it was added and from their sons.
LoggerListener
Method Detail
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.

Returns
uint — the level of the listener instance. It should be one of DEBUG INFO WARN ERROR.

See also

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.