Lightstreamer .Net Client 2.1.2
ContentsIndexHome
PreviousUpNext
ILoggerProvider Interface

Simple interface to be implemented to provide custom log consumers to the library. 

An instance of the custom implemented class has to be passed to the library through the LSClient.SetLoggerProvider method. 

 

C++
public: __interface ILoggerProvider;
C#
public interface ILoggerProvider;
Visual Basic
Public Interface ILoggerProvider

Exceptions thrown to the caller are not logged. 

Exceptions asynchronously notified to the client are logged at ERROR level. 

All tracing is done at INFO and DEBUG levels. 

Full exception stack traces are logged at DEBUG level. 

Pushing activity from Lightstreamer Server is also logged at DEBUG level.