Reworked the logger a bit.
This commit is contained in:
1 parent
7d1cc39ebf
commit
c868d74636
11 files changed
+167
-59
No files matched your search
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// SBLogger.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 26/10/14.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <MP42Foundation/MP42Logging.h>
|
||||
|
||||
@interface SBLogger : NSObject <MP42Logging> {
|
||||
NSURL *_fileURL;
|
||||
id <MP42Logging> _delegate;
|
||||
}
|
||||
|
||||
@property (assign, readwrite) id <MP42Logging> delegate;
|
||||
|
||||
- (instancetype)initWithLogFile:(NSURL *)fileURL;
|
||||
|
||||
- (void)writeToLog:(NSString *)string;
|
||||
- (void)clearLog;
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user