Loading...
Searching...
No Matches
NCLogMessage.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCLogLevel.h"
3#import <Foundation/Foundation.h>
4
9DEFAULT_EXPORT_ATTRIBUTE
10@interface NCLogMessage : NSObject
11
15- (nonnull instancetype)initWithTime:(int64_t)time
16 level:(NCLogLevel)level
17 scope:(nonnull NSString *)scope
18 message:(nonnull NSString *)message
19 verboseInfo:(nonnull NSString *)verboseInfo;
20
24+ (nonnull instancetype)logMessageWithTime:(int64_t)time
25 level:(NCLogLevel)level
26 scope:(nonnull NSString *)scope
27 message:(nonnull NSString *)message
28 verboseInfo:(nonnull NSString *)verboseInfo;
29
30@property (nonatomic, readonly) int64_t time;
31
32@property (nonatomic, readonly) NCLogLevel level;
33
34@property (nonatomic, readonly, nonnull) NSString * scope;
35
36@property (nonatomic, readonly, nonnull) NSString * message;
37
38@property (nonatomic, readonly, nonnull) NSString * verboseInfo;
39
40@end