Lightstreamer OS X Client 1.0.4
Native OS X Client library for Lightstreamer
Static Public Member Functions

LSLog Class Reference

The LSLog class controls the local logging system. More...

#import <LSLog.h>

List of all members.

Static Public Member Functions

(void) + sourceType:source:log:
 Logs a line if the source is enabled.
(void) + log:
 Logs a line.
(void) + enableSourceType:
 Enables logging for a specific source.
(void) + enableAllSourceTypes
 Enables logging for all sources.
(void) + disableSourceType:
 Disables logging for a specific source.
(void) + disableAllSourceTypes
 Disables logging for all sources.
(BOOL) + isSourceTypeEnabled:
 Tells is a specific source is enabled.

Detailed Description

The LSLog class controls the local logging system.


Member Function Documentation

+ (void) disableAllSourceTypes

Disables logging for all sources.

+ (void) disableSourceType: (int)  source

Disables logging for a specific source.

Parameters:
sourceThe identifier of the source.
+ (void) enableAllSourceTypes

Enables logging for all sources.

+ (void) enableSourceType: (int)  source

Enables logging for a specific source.

Parameters:
sourceThe identifier of the source.
+ (BOOL) isSourceTypeEnabled: (int)  source

Tells is a specific source is enabled.

Parameters:
sourceThe identifier of the source.
+ (void) log: (NSString *)  format
,   ... 

Logs a line.

Parameters:
formatThe line format string.
+ (void) sourceType: (int)  sourceType
source: (id)  source
log: (NSString *)  format
,   ... 

Logs a line if the source is enabled.

Parameters:
sourceThe logging source.
formatThe line format string.

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