An implementation of the SLLogger protocol that writes StreamLink log messages to the console using the NSLog() function.
More...
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().
- (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
|
readwritenonatomicassignprotected |
The log level below which messages are not logged.