Added logging

pull/214/head
M66B 12 months ago
parent b87ddb9ca6
commit ea9125ff72

@ -221,6 +221,8 @@ public class DnsHelper {
Set<? extends Data> answers = r.getAnswers(); Set<? extends Data> answers = r.getAnswers();
if (answers != null) if (answers != null)
for (Data answer : answers) { for (Data answer : answers) {
if (BuildConfig.DEBUG)
EntityLog.log(context, EntityLog.Type.Network, name + ":" + type + "=" + answer);
Log.i("Answer=" + answer); Log.i("Answer=" + answer);
if (answer instanceof NS) { if (answer instanceof NS) {
NS ns = (NS) answer; NS ns = (NS) answer;

Loading…
Cancel
Save