GenericLogCollector Protocol Reference
Declared in | GenericLogCollector.h |
---|
Overview
Root interface for a log collector.
Adds new log record to a local storage.
May be configured by setting user defined log record storage and log upload strategy. Each of them may be set independently of others.
Reference implementation of each module is provided.
– setStorage:
required method
Set user implementation of a log storage.
- (void)setStorage:(id<LogStorage>)storage
Parameters
storage |
User-defined log storage object |
---|
Discussion
Set user implementation of a log storage.
Declared In
GenericLogCollector.h
– setStrategy:
required method
Set user implementation of a log upload strategy.
- (void)setStrategy:(id<LogUploadStrategy>)strategy
Parameters
strategy |
User-defined log upload strategy object. |
---|
Discussion
Set user implementation of a log upload strategy.
Declared In
GenericLogCollector.h
– setLogDeliveryDelegate:
required method
Set a delegate which receives a delivery status of each log bucket.
- (void)setLogDeliveryDelegate:(id<LogDeliveryDelegate>)delegate
Discussion
Set a delegate which receives a delivery status of each log bucket.
Declared In
GenericLogCollector.h
– stop
required method
Stops and/or cleanup resources.
- (void)stop
Discussion
Stops and/or cleanup resources.
Declared In
GenericLogCollector.h