Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log history #597

Merged
merged 4 commits into from
May 4, 2017
Merged

Log history #597

merged 4 commits into from
May 4, 2017

Conversation

ricardopereira
Copy link
Contributor

@ricardopereira ricardopereira commented May 2, 2017

Regarding #596.

@ricardopereira ricardopereira requested a review from tcard May 2, 2017 13:59
return [self toString];
}

#pragma mark - NSCoding
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To save the object in disk with NSUserDefaults.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If necessary. Currently, the logger does not store the history.

Source/ARTLog.m Outdated
}

- (instancetype)initCapturingOutput:(BOOL)capturing {
return [self initCapturingOutput:true historyLines:10];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10 seems awfully low, should we bump to say 50 or 100?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done c3afa25.

@tcard tcard merged commit cab7e7c into master May 4, 2017
@tcard tcard deleted the log-history branch May 4, 2017 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants