Skip to content

Commit

Permalink
Remove old cruft from example apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
kstenerud committed Dec 8, 2016
1 parent 2e683a2 commit 4a6b79e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions iOS/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@
#define kReportURL [NSURL URLWithString:@"http://" kReportHost @":8000/api/crashes/"]


// Set to true to write all log entries to Library/Caches/KSCrashReports/Crash-Tester/Crash-Tester-CrashLog.txt
#define kRedirectConsoleLogToDefaultFile false


#endif
2 changes: 1 addition & 1 deletion iOS/Crash-Tester/AppDelegate+UI.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ - (void) setBackButton:(UIViewController*) controller
{
controller.navigationItem.backBarButtonItem =
[[UIBarButtonItem alloc] initWithTitle:@"Back"
style:UIBarButtonItemStyleBordered
style:UIBarButtonItemStyleDone
target:nil
action:nil];
}
Expand Down
6 changes: 1 addition & 5 deletions iOS/Crash-Tester/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,12 @@ - (void) installCrashHandler
{
KSCrash* handler = [KSCrash sharedInstance];

#if kRedirectConsoleLogToDefaultFile
[handler redirectConsoleLogsToDefaultFile];
#endif

handler.deadlockWatchdogInterval = 5.0f;
handler.catchZombies = YES;
handler.searchThreadNames = YES;
handler.searchQueueNames = YES;
// handler.printTraceToStdout = YES;
// [handler redirectConsoleLogsToDefaultFile];
// handler.redirectConsoleLogToFile = YES;
handler.onCrash = onCrash;
handler.userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
@"\"quote\"", @"quoted value",
Expand Down

0 comments on commit 4a6b79e

Please sign in to comment.