#import "AppDelegate.h" | |
#import <CocoaLumberjack/CocoaLumberjack.h> | |
#import <CocoaLumberjack/DDTTYLogger.h> | |
// Log levels: off, error, warn, info, verbose | |
static const DDLogLevel ddLogLevel = DDLogLevelVerbose; | |
@implementation AppDelegate | |
@synthesize window = _window; | |
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification | |
{ | |
[DDLog addLogger:[DDTTYLogger sharedInstance]]; | |
DDLogVerbose(@"Verbose"); | |
DDLogInfo(@"Info"); | |
DDLogWarn(@"Warn"); | |
DDLogError(@"Error"); | |
} | |
@end |