forked from pilotmoon/Scroll-Reverser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TapLogger.h
26 lines (19 loc) · 975 Bytes
/
TapLogger.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// This file is part of Scroll Reverser <https://pilotmoon.com/scrollreverser/>
// Licensed under Apache License v2.0 <http://www.apache.org/licenses/LICENSE-2.0>
#import "Logger.h"
#import "MouseTap.h"
@interface TapLogger : Logger
- (void)logObject:(NSObject *)obj forCountedKey:(NSString *)key;
- (void)logObject:(NSObject *)obj forKey:(NSString *)key;
- (void)logBool:(BOOL)val forKey:(NSString *)key;
- (void)logIfYes:(BOOL)val forKey:(NSString *)key;
- (void)logSignedInteger:(NSInteger)val forKey:(NSString *)key;
- (void)logUnsignedInteger:(NSUInteger)val forKey:(NSString *)key;
- (void)logDouble:(double)val forKey:(NSString *)key;
- (void)logNanoseconds:(uint64_t)ns forKey:(NSString *)key;
- (void)logCount:(id)obj forKey:(NSString *)key;
- (void)logEventType:(CGEventType)source forKey:(NSString *)key;
- (void)logSource:(ScrollEventSource)source forKey:(NSString *)key;
- (void)logPhase:(ScrollPhase)phase forKey:(NSString *)key;
- (void)logParams;
@end