change the trace and logger to different way

This commit is contained in:
zhongchao
2022-03-28 00:01:02 +08:00
parent 18c720152a
commit bc441675c2
2 changed files with 11 additions and 10 deletions

View File

@@ -15,12 +15,13 @@ if (!isAndroidTestBuild()) {
logLevel "DEBUG"
}
}
//if (!isAndroidTestBuild()) {
// apply plugin: 'chain.log.hook'
// hooklog{
// enableLoggerToServer true
// }
//}
if (!isAndroidTestBuild()) {
apply plugin: 'chain.log.hook'
hooklog{
enableTraceToServer false
enableLoggerToLocal true
}
}
//if (!isAndroidTestBuild()) {
// apply plugin: 'apm-plugin'