6

How can I disable the logcat output of 3rd party libraries, such as AdWhirl and AdMob?

Sometimes they provide a method to disable the log output, sometimes they don't. For those who don't is there a application wide setting where I can suppress either any log output or log output from certain classes or tags?

znq
  • 44,613
  • 41
  • 116
  • 144

1 Answers1

1

You could look at using ProGuard to remove the Log.* calls from the bytecode of the libraries.

See this answer: Remove all debug logging calls before publishing: are there tools to do this?

Community
  • 1
  • 1
Christopher Orr
  • 110,418
  • 27
  • 198
  • 193
  • 1
    I'm using a third party .aar. It looks like ProGuard has no effect. Are you sure this works with .jars? – Merk Oct 27 '16 at 21:18