|
@@ -437,8 +437,9 @@ abstract class BaseActivity<DB : ViewDataBinding> : AppCompatActivity(), OnRefre
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
fun sendLog(log: com.aliyun.sls.android.producer.Log) {
|
|
fun sendLog(log: com.aliyun.sls.android.producer.Log) {
|
|
|
- val result = client!!.addLog(log)
|
|
|
|
|
- Log.e("wpp", "阿里云日志上报记录" + result.toString())
|
|
|
|
|
|
|
+ if (client != null) {
|
|
|
|
|
+ client!!.addLog(log)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private fun oneLog(): com.aliyun.sls.android.producer.Log {
|
|
private fun oneLog(): com.aliyun.sls.android.producer.Log {
|