-
Notifications
You must be signed in to change notification settings - Fork 153
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
feature - extend console to inside ios app #50
Comments
This would be a useful extension utility to have. Will definitely consider this for future inclusion. |
nice nice. if you're on a feature branch and need some feedback let me know. |
As of now, I'm building this as a stand-alone project, although the release of Xcode 8 is keeping me very busy right now. Will keep you posted. |
let me know if I can help. |
The original implementation I started building has based on being able to read the Apple System Log. Now that the ASL is deprecated, I threw that away and restarted using a new concept. I've got it somewhat working locally on a branch, and will publish that branch in coming weeks to allow you to test & provide feedback. Stay tuned! |
There is work-in-progress available for testing, evaluation & feedback on the |
Thanks for update. I switched to use Dotzu in last couple of days - https://github.com/remirobert/Dotzu |
Thanks for the tip, John. Good luck, and let me know if I can be of help in the future. |
fyi - also came to my attention this morning - https://github.com/Cosmo/TinyConsole |
FWIW I've been using a fairly stable log viewer implementation on my fork. It fixes a few issues I had with the upstream live-log-viewer branch and handles chatty logs fairly well (getting table views to animate smoothly with frequent updates is a pain). Looks like there have been updates to the live-log-viewer branch since I forked but that implementation is still sharing the buffer array from the recorder instance which leads to a race condition causing a UITableView assert. I offered to help out and solicited feedback on what changes would be needed to make this PR-worthy but haven't heard back from @emaloney. |
Hi Cristian, I haven't forgotten about you; it's just that I have to fit this work within the context of my larger workload, which can sometimes cause me to step away from things for a while. Anyway, as you noticed, I have updated the branch since you forked, and I would love to include your fixes. The only reason I haven't fixed that myself is that you said you've already done it and were kind enough to offer those fixes back. The changes I pushed to the branch since you forked are based largely on your feedback, so I hope you give it a try. Don't be shy about giving me more feedback! Thanks, |
@cfilipov it was implied, but may not have been clear in my minutes-ago post, that I will be happy to consider a pull request from you if you wouldn't mind basing it on the latest version of the Frankly, the version you forked was only on GitHub so I'd have a copy of it somewhere other than my laptop. I wasn't really expecting anyone to find it, much less give it a spin & then fork it! |
Completely understood. I didn't mean to imply you were ignoring my messages. I felt like I was spamming you a bit so I backed off for a while, the notifications from this thread reminded me to bring it up again. I most definitely don't want to maintain a fork if at all possible. One concern I had with my changes was the number of areas I diverged from upstream. I feel like I had good justification for each of them but without knowing the original intent it's hard to say. It would be nice to have sign-off on some of these areas before I plunge in:
I'm mainly trying to avoid getting into a situation where I spend a lot of time preparing a PR only to find out that our directions are strongly incompatible. Ideally, I would like to get you a PR that makes you happy, but still allows me to configure the live log viewer to suite my needs (specific preference for what is displayed, the colors etc..). I think it's possible, your latest changes are much closer to what I have than before.
I didn't expect to yak-shave, but I looked at lots of logger implementations, really liked this one, and I really needed a log viewer asap. |
Cristian, I'll address each point in turn:
I would be fine with simplifying this implementation.
I don't mind splitting up
Using a standard Perhaps this is an argument for creating "building block" views that would allow you to just what you want/need, for example:
Splitting out the data source into a public entity of some sort is OK with me. The rationale you expressed later in your write-up makes sense to me. As mentioned above, I'd like to retain the ability to use a single view without the view controller. I'd also like the ability to use the view controller with full controls without requiring that it be contained in a navigation controller. (At the same time, if it is put in a navigation controller and is presented modally, that it should provide some sort of dismissal button; eg., "Close").
I don't have a problem with that, although because the assets are contained in a Framework, users of CleanroomLogger shouldn't need to manually add assets to their projects; it should happen automatically by virtue of relying on the Framework mechanism.
Having some sort of utility function to return the log view controller wrapped in a navigation controller is acceptable to me.
This reminds me, one of the things I'm planning for including is a container |
see this example -
https://github.com/burczyk/UIForLumberjack
The text was updated successfully, but these errors were encountered: