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

Add docs for common, practical things one needs in an app #404

Open
om26er opened this issue May 1, 2018 · 1 comment
Open

Add docs for common, practical things one needs in an app #404

om26er opened this issue May 1, 2018 · 1 comment

Comments

@om26er
Copy link
Contributor

om26er commented May 1, 2018

An app that is using ABJ could benefit in terms of debugging connections woos if it was possible to enable/disable debug logs at the library level. Implementing that is of course a simple thing but need to know if, from a security perspective, this is a bad thing etc.

@oberstet thoughts ?

@oberstet
Copy link
Contributor

oberstet commented May 2, 2018

tbh, my knowledge of Android logging is limited, both rgd best practices, as well as security implications. In general, I guess yes, a library that wants to be a nice citizen should provide some debugging knobs.

From a practical side, and in general, beginning users will need master:

  1. general future/async based Java 8 programming
  2. serialization/typing related questions (Jackson, classes, POJOs, ..)
  3. getting TLS working
  4. getting a stable connection (auto-reconnect, heartbeating)

Good docs and examples for above should be the starting point. And then we might add a "when things go wrong" section in the docs, that explains how to track down issues. And this then would involve turning on debug logging or such.

So I am looking at this as in: for us (lib devs), we don't really need it for dev on the library. So it is a user thing. And that is part of a bigger user story: "I want to get started quickly" and "I am running into deeper issues: how do I systematically track down my own issue (supposedly not a library bug)?"

@oberstet oberstet changed the title Allow to dynamically set log levels Add docs for common, practical things one needs in an app Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants