android - How to suppress logging with Google Analytics 7.3? -


the latest update google play services 7.3 makes ga's logger interface deprecated, , cannot control logging level inside our app anymore.

this interface deprecated.

logger interface deprecated. use adb shell setprop log.tag.gav4 debug enable debug logging google analytics.

we used have different settings per build type, using logger.setloglevel() (the guide seems outdated): verbose debug , error release, our tracking information available during development.

now latest update, can run

adb shell setprop log.tag.gav4 verbose 

will able see sending google analytics, or can see else logging (those use 7.3).

is there way avoid this?

in google analytics changelog page can see ga version 4.5 version included in google play services 7.3 (may 1, 2015)

https://developers.google.com/analytics/devguides/changelog

you can change default logger custom implementation:

custom implementations of logger can used:  // provide custom logger. googleanalytics.getinstance(this).setlogger(new customlogger()); 

see: https://developers.google.com/analytics/devguides/collection/android/v4/advanced


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -