Lightstreamer macOS Client
1.2.5
Native macOS Client library for Lightstreamer
|
The LSLog class controls the local logging system. More...
#import <LSLog.h>
Class Methods | |
(void) | + setDelegate: |
Sets a new log delegate. More... | |
(void) | + enableSourceType: |
Enables logging for a specific source. More... | |
(void) | + enableAllSourceTypes |
Enables logging for all sources. More... | |
(void) | + disableSourceType: |
Disables logging for a specific source. More... | |
(void) | + disableAllSourceTypes |
Disables logging for all sources. More... | |
(BOOL) | + isSourceTypeEnabled: |
Tells is a specific source is enabled. More... | |
The LSLog class controls the local logging system.
+ (void) disableAllSourceTypes |
Disables logging for all sources.
+ (void) disableSourceType: | (int) | source |
Disables logging for a specific source.
source | The identifier of the source. |
+ (void) enableAllSourceTypes |
Enables logging for all sources.
+ (void) enableSourceType: | (int) | source |
Enables logging for a specific source.
source | The identifier of the source. |
+ (BOOL) isSourceTypeEnabled: | (int) | source |
Tells is a specific source is enabled.
source | The identifier of the source. |
+ (void) setDelegate: | (id< LSLogDelegate >) | delegate |
Sets a new log delegate.
Once a delegate has been set, all subsequent log lines are redirected to the delegate. The local logging system will just provide line formatting, no log messages will be written to the console or other destinations if not by delegate's initiative.
delegate | The log delegate, or nil to revert to the local logging system. |