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