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

changed the package of Log class to protected and not accessible by apps... #50

Closed
wants to merge 1 commit into from

Conversation

lalith-b
Copy link

....

@sjudd
Copy link
Collaborator

sjudd commented Nov 20, 2013

As long as we're using the hacky static variable to enable/disable log lines, we probably should keep the class accessible to outside projects so people who download the jar can still enable/disable logging. Maybe just rename it to GlideLog or something similar?

@lalith-b
Copy link
Author

lalith-b commented Dec 3, 2013

If you hit Log.e()/Log.d or whatever instead of android.utils.Log import its pretty common to import glide.Log either the log class should be something like Logger or remove public access.

@sjudd
Copy link
Collaborator

sjudd commented Dec 22, 2013

This was fixed here: e81c2c3

Glide's log class has been removed and you can now use the normal adb shell setprop TAG LEVEL to enable logging for specific classes.

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