Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
ILoggerProvider.GetLogger Method

Request for an ILogger instance that will be used for logging occuring on the given category. It is suggested, but not mandatory, that subsequent calls to this method related to the same category return the same ILogger instance. 

 

C++
ILogger GetLogger(string category);
C#
ILogger GetLogger(string category);
Visual Basic
Function GetLogger(category As string) As ILogger
Parameters 
Description 
string category 
the log category all messages passed to the given ILogger instance will pertain to. The following categories are used by the library:

Lightstreamer.DotNet.Server:
Loggers for Lightstreamer .NET Remote Server and Remote Adapter Library.

Lightstreamer.DotNet.Server.ServerMain:
At INFO level, Remote Server startup is logged;
At DEBUG level, command line argument recognition is logged.

Lightstreamer.DotNet.Server.NetworkedServerStarter:
At INFO level, Connection status is logged.

Lightstreamer.DotNet.Server.MetadataProviderServer:
At INFO level, processing options are logged.
At DEBUG level, processing of requests for the Metadata Adapter is logged.

Lightstreamer.DotNet.Server.DataProviderServer:
At INFO level, processing options are logged.
At DEBUG level, processing of requests for the Data Adapter is logged.

Lightstreamer.DotNet.Server.RequestReply:
At INFO level, Connection details are logged;
At DEBUG level, request, reply and notify lines are logged.

Lightstreamer.DotNet.Server.RequestReply.Replies.Keepalives:
At DEBUG level, the keepalives on request/reply streams are logged, so that they can be inhibited.

Lightstreamer.DotNet.Server.RequestReply.Notifications:
At DEBUG level, the notify lines are logged, so that they can be inhibited.

Lightstreamer.DotNet.Server.RequestReply.Notifications.Keepalives:
At DEBUG level, the keepalives on notification streams are logged, so that they can be inhibited.
 

An ILogger instance that will receive log lines related to the given category.