-
Notifications
You must be signed in to change notification settings - Fork 20
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
Clear Logs and View Logs Functionality Added #168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @namithj! I've left some change request and a couple of suggestions. 🙂
Thanks, will update. I got another issue in this PR which I haven't been able to figure out. I am getting an extra line break between each log entries in the viewer and not in the log file. Can you take a look. |
Review Updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @namithj!
I've left some requested changes for indent fixing or missing return value, as well as some thoughts about possible improvements for the ::read()
method.
Signed-off-by: Alex Sirota <[email protected]>
Use WP_Error Class for returning error conditions.
Lets get this merged |
Have you addressed @costdev suggestions? |
Yes, everything resolved |
Errors are shown in alert boxes instead of inside the viewer. New error states added for clear logs.
@costdev PR Updated. Added more error handling too. |
Redundant check removed
Pull Request
What changed?
Clear Logs and View Logs Functionality Added
Why did it change?
Make debugging easier and provide an easier way for casual users to see whats going on
Did you fix any specific issues?
#62
CERTIFICATION
By opening this pull request, I do agree to abide by the CODE OF CONDUCT and be bound by the terms of the Contribution Guidelines in effect on the date and time of my contribution as proven by the revision information in GitHub. I also agree that any previous contributions shall be deemed subject to the terms of the ersion in effect on the date and time of this pull request, or any future revisions for pull requests I may submit.
Further, I certify that this work is my own, is original, does not violate the intellectual property of any other person or entity, and I am not violating any license agreements or contracts I have with any person or entity. Finally, I agree that this code may be licensed under any license deemed appropriate by AspirePress, including but not limited to open source, closed source, proprietary or custom licenses, and that such license terms neither violate my rights or my copyright to this code.