mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
21 lines
942 B
C
21 lines
942 B
C
|
#import <Foundation/Foundation.h>
|
||
|
#import "OccurrenceLogger.h"
|
||
|
#import "ConditionLogger.h"
|
||
|
#import "ValueLogger.h"
|
||
|
|
||
|
@protocol JitterQueueNotificationReceiver;
|
||
|
|
||
|
@protocol Logging <NSObject>
|
||
|
|
||
|
/// Note: the logger MUST NOT store a reference to the given sender. Calling this method, or storing its result, must not create a reference cycle.
|
||
|
-(id<OccurrenceLogger>) getOccurrenceLoggerForSender:(id)sender withKey:(NSString*)key;
|
||
|
|
||
|
/// Note: the logger MUST NOT store a reference to the given sender. Calling this method, or storing its result, must not create a reference cycle.
|
||
|
-(id<ConditionLogger>) getConditionLoggerForSender:(id)sender;
|
||
|
|
||
|
/// Note: the logger MUST NOT store a reference to the given sender. Calling this method, or storing its result, must not create a reference cycle.
|
||
|
-(id<ValueLogger>) getValueLoggerForValue:(id)valueIdentity from:(id)sender;
|
||
|
|
||
|
-(id<JitterQueueNotificationReceiver>) jitterQueueNotificationReceiver;
|
||
|
@end
|