Lightstreamer tvOS Client  2.0.1
Native tvOS Client library for Lightstreamer
Instance Methods | List of all members
LSConsoleLogger Class Reference

Concrete logger class to provide logging on the system console. More...

#import <LSConsoleLogger.h>

Inheritance diagram for LSConsoleLogger:
<LSLogger>

Instance Methods

(nonnull instancetype) - initWithLevel:category:
 Creates an instace of the concrete system console logger. More...
 
- Instance Methods inherited from <LSLogger>
(void) - error:
 Receives log messages at Error level. More...
 
(void) - error:withException:
 Receives log messages at Error level and a related exception. More...
 
(void) - warn:
 Receives log messages at Warn level. More...
 
(void) - warn:withException:
 Receives log messages at Warn level and a related exception. More...
 
(void) - info:
 Receives log messages at Info level. More...
 
(void) - info:withException:
 Receives log messages at Info level and a related exception. More...
 
(void) - debug:
 Receives log messages at Debug level. More...
 
(void) - debug:withException:
 Receives log messages at Debug level and a related exception. More...
 
(void) - fatal:
 Receives log messages at Fatal level. More...
 
(void) - fatal:withException:
 Receives log messages at Fatal level and a related exception. More...
 

Additional Inherited Members

- Properties inherited from <LSLogger>
BOOL debugEnabled
 Checks if this logger is enabled for the Debug level. More...
 
BOOL infoEnabled
 Checks if this logger is enabled for the Info level. More...
 
BOOL warnEnabled
 Checks if this logger is enabled for the Warn level. More...
 
BOOL errorEnabled
 Checks if this logger is enabled for the Error level. More...
 
BOOL fatalEnabled
 Checks if this logger is enabled for the Fatal level. More...
 

Detailed Description

Concrete logger class to provide logging on the system console.


Instances of this classes are obtained by the library through the LSLoggerProvider instance set on setLoggerProvider: (LSLightstreamerClient).

Method Documentation

- (nonnull instancetype) initWithLevel: (LSConsoleLogLevel)  level
category: (nullable NSString *)  category 

Creates an instace of the concrete system console logger.

Parameters
levelthe desired logging level for this LSConsoleLogger instance.
categorythe log category all messages passed to the given LSConsoleLogger instance will pertain to.

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