| #import "AppDelegate.h" |
| #import "ViewController.h" |
| |
| #import <Lumberjack/Lumberjack.h> |
| |
| // Log levels: off, error, warn, info, verbose |
| static const int ddLogLevel = LOG_LEVEL_VERBOSE; |
| |
| |
| @implementation AppDelegate |
| |
| @synthesize window = _window; |
| @synthesize viewController = _viewController; |
| |
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
| { |
| [DDLog addLogger:[DDTTYLogger sharedInstance]]; |
| |
| DDLogVerbose(@"Verbose"); |
| DDLogInfo(@"Info"); |
| DDLogWarn(@"Warn"); |
| DDLogError(@"Error"); |
| |
| return YES; |
| } |
| |
| @end |