StreamLink for iOS  7.1.0.313154
SLConsoleLogger Class Reference

An implementation of the SLLogger protocol that writes StreamLink log messages to the console using the NSLog() function. More...

Inheritance diagram for SLConsoleLogger:

Instance Methods

(id) - initWithThresholdLevel:
 Initializes the logger. Only messages with a log level greater than or equal to thresholdLevel are logged. More...
 

Protected Attributes

SL_LogLevel logLevel
 

Detailed Description

An implementation of the SLLogger protocol that writes StreamLink log messages to the console using the NSLog() function.

Warning
We strongly recommend that SLConsoleLogger is only used during development and not in a product deployment. We have observed that the iOS system daemon syslogd can consume large amounts of CPU receiving messages logged with NSLog().

Method Documentation

- (id) initWithThresholdLevel: (SL_LogLevel)  thresholdLevel

Initializes the logger. Only messages with a log level greater than or equal to thresholdLevel are logged.

Parameters
thresholdLevel- The threshold level at which to log messages.
Note
In general messages with a log level lower than SL_LOG_INFO should not be logged in production deployments; see SLLogger

Member Data Documentation

- (SL_LogLevel) logLevel
readwritenonatomicassignprotected

The log level below which messages are not logged.


Generated on Sun Jun 9 2019 08:50:07 for StreamLink for iOS