14 lines
388 B
Objective-C
14 lines
388 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "JitterQueue.h"
|
|
#import "Logging.h"
|
|
|
|
@interface CategorizingLogger : NSObject<Logging, JitterQueueNotificationReceiver> {
|
|
@private NSMutableArray* callbacks;
|
|
@private NSMutableDictionary* indexDic;
|
|
}
|
|
|
|
+(CategorizingLogger*) categorizingLogger;
|
|
-(void) addLoggingCallback:(void(^)(NSString* category, id details, NSUInteger index))callback;
|
|
|
|
@end
|