FMLiveSwitchDiagnosticsDiagnosticsService Class Reference

A class for handling diagnostics. More...

Instance Methods

(instancetype) - initWithLabel:logContext:provider:intervalMs:
 Constructor. More...
 
(void) - start
 Start the Diagnostics Service. More...
 
(void) - stop
 Stop the Diagostics Service. More...
 

Class Methods

(FMLiveSwitchDiagnosticsDiagnosticsService *) + diagnosticsServiceWithLabel:logContext:provider:intervalMs:
 Constructor. More...
 

Detailed Description

A class for handling diagnostics.

Method Documentation

◆ diagnosticsServiceWithLabel:logContext:provider:intervalMs:

+ (FMLiveSwitchDiagnosticsDiagnosticsService*) diagnosticsServiceWithLabel: (NSString *)  label
logContext: (FMLiveSwitchLogContext *)  logContext
provider: (NSObject< FMLiveSwitchDiagnosticsIDiagnosticsProvider > *)  provider
intervalMs: (int)  intervalMs 

Constructor.

Parameters
label
logContext
provider
intervalMs

◆ initWithLabel:logContext:provider:intervalMs:

- (instancetype) initWithLabel: (NSString *)  label
logContext: (FMLiveSwitchLogContext *)  logContext
provider: (NSObject< FMLiveSwitchDiagnosticsIDiagnosticsProvider > *)  provider
intervalMs: (int)  intervalMs 

Constructor.

Parameters
label
logContext
provider
intervalMs

◆ start

- (void) start

Start the Diagnostics Service.

◆ stop

- (void) stop

Stop the Diagostics Service.