4339-Set_log_level_for_release_build
Description
co.trikita.Log
provides set log level support, which android.util.Log
is missing.
Again, co.trikita.Log
maintains the same interface structure as
android.util.Log
, so only updating the import
statement is only
needed to update the code structure. Setting up log level to only error for release builds will stop printing sophisticated info into the logcat.
Screenshots
Technical details
-
Didn't use
Timber
or any other log libraries, because, those don't follow the sameandroid.util.Log
structure. So using any one of them will require also code statement changes that may cause merge conflict on updates with upstream tasks. -
Ignore the pipeline failed issue