forked from pilotmoon/Scroll-Reverser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Logger.h
32 lines (23 loc) · 937 Bytes
/
Logger.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
27
28
29
30
31
32
// 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 <Foundation/Foundation.h>
extern NSString *const LoggerUpdatesWaiting;
extern NSString *const LoggerEntriesChanged;
extern NSString *const LoggerEntriesAppended;
extern NSString *const LoggerEntriesRemoved;
extern NSString *const LoggerMaxEntries;
extern NSString *const LoggerKeyTimestamp;
extern NSString *const LoggerKeyMessage;
extern NSString *const LoggerKeyType;
extern NSString *const LoggerTypeNormal;
extern NSString *const LoggerTypeSpecial;
@interface Logger : NSObject
@property (readonly) NSUInteger entryCount;
@property BOOL enabled;
@property NSUInteger limit;
- (void)logMessage:(NSString *)str special:(BOOL)special;
- (void)logMessage:(NSString *)str;
- (void)clear;
- (NSDictionary *)entryAtIndex:(NSUInteger)row;
- (void)process;
@end