Merge branch 'feature/improveAppDelegateLogging'

pull/1/head
Matthew Chen 8 years ago
commit 7ca8c0f28d

@ -45,8 +45,6 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
@implementation AppDelegate
#pragma mark Detect updates - perform migrations
- (void)applicationDidEnterBackground:(UIApplication *)application {
DDLogWarn(@"%@ applicationDidEnterBackground.", self.tag);
}
@ -57,6 +55,16 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
}
- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
{
DDLogWarn(@"%@ applicationDidReceiveMemoryWarning.", self.tag);
}
- (void)applicationWillTerminate:(UIApplication *)application
{
DDLogWarn(@"%@ applicationWillTerminate.", self.tag);
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Initializing logger
CategorizingLogger *logger = [CategorizingLogger categorizingLogger];
@ -94,6 +102,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
[DebugLogger.sharedLogger enableFileLogging];
}
DDLogWarn(@"%@ application: didFinishLaunchingWithOptions.", self.tag);
[self setupTSKitEnv];
UIStoryboard *storyboard;

Loading…
Cancel
Save