Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Logging class helpful to be used in order to avoid to log sensitive data
public class Logging {
public static void show(Object obj, String message) {
if (BuildConfig.DEBUG) {
Log.e(obj.getClass().getName(), message);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.