Lightstreamer iOS Client  2.0.1
Native iOS Client library for Lightstreamer
Instance Methods | List of all members
<LSLoggerProvider> Protocol Reference

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

#import <LSLoggerProvider.h>

Inheritance diagram for <LSLoggerProvider>:
LSConsoleLoggerProvider

Instance Methods

(nullable id< LSLogger >) - loggerWithCategory:
 Request for a Logger instance that will be used for logging occuring on the given category. More...
 

Detailed Description

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 setLoggerProvider: (LSLightstreamerClient).

Method Documentation

- (nullable id <LSLogger>) loggerWithCategory: (nullable NSString *)  category

Request for a Logger 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 Logger instance.

Parameters
categorythe log category all messages passed to the given LSLogger instance will pertain to.
Returns
An LSLogger instance that will receive log lines related to the given category.

The documentation for this protocol was generated from the following file: