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

LogA: Make trikita.log invisible to ARTistGUI #6

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

LogA: Make trikita.log invisible to ARTistGUI #6

wants to merge 2 commits into from

Conversation

partipan-dot
Copy link

@partipan-dot partipan-dot commented Jun 6, 2018

The logging methods in LogA respect the set log level and ARTistGuishould depend only on LogA. It shouldn't be able to call trikita.log directly.

This change depends on: Project-ARTist/ArtistGui#62

@schrnz
Copy link
Member

schrnz commented Jun 6, 2018

I am fine with this, seems like a good idea to enforce the usage of the LogA API.
In terms of ordering: I assume that we can accept this PR without breaking anything, then reference this in ArtistGui's dexterous submodule, update Project-ARTist/ArtistGui#62 correspondingly and then accept that PR as well?

@partipan-dot
Copy link
Author

No, this change breaks ARTistGUI directly after merging this PR. ARTistGUI calls logging methods from trikita.log in several places. Project-ARTist/ArtistGui#62 replaces all calls to methods from trikita.log and android.util.log.
After merging this PR the CI PR test for Project-ARTist/ArtistGui#62 will pass. It can't find the submodule commit hash (in this PR) currently.

Dexterous doesn't depend on the design support library.
It doesn't jUnit, mockito or hamcrest either.
The methods in LogA respect the set log level and ARTistGui
should depend only on LogA. It shouldn't be able to call
anything directly from trikita.log.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants