Open hoi-nx opened 5 years ago
I want to add appversion to logcat? how to do that?
PrettyFormatStrategy.newBuilder()
.logStrategy(logStrategy)
.methodCount(0)
.showThreadInfo(false)
.methodOffset(2)
.tag("${context.getString(R.string.app_name)}_${BuildConfig.VERSION_NAME}") // Magic ;)
.build()
PrettyFormatStrategy.newBuilder()
.logStrategy(logStrategy)
.methodCount(0)
.showThreadInfo(false)
.methodOffset(2)
.tag("tag-"+BuildConfig.VERSION_NAME)
.build()
I want to add appversion to logcat? how to do that?