Reworked the logger a bit.

This commit is contained in:
Damiano Galassi committed 2014-10-26 14:56:42 +01:00
1 parent 7d1cc39ebf
commit c868d74636
11 files changed
+167 -59

No files matched your search

+24
View File
@@ -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