LSConsoleLogger Class Reference

Inherits from NSObject
Conforms to LSLogger
Declared in LSConsoleLogger.h

Overview

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 [LSLightstreamerClient setLoggerProvider:].

– initWithLevel:category:

Creates an instace of the concrete system console logger.

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

Parameters

level

The desired logging level for this LSConsoleLogger instance.

category

The log category all messages passed to the given LSConsoleLogger instance will pertain to.

Declared In

LSConsoleLogger.h