log修改
This commit is contained in:
parent
5a0aa60061
commit
4e5287047f
|
@ -31,7 +31,9 @@ class MainApplication : Application() {
|
|||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
instance = this
|
||||
LogUtils.getConfig().setLog2FileSwitch(true)
|
||||
LogUtils.getConfig()
|
||||
.setBorderSwitch(false)
|
||||
.setLog2FileSwitch(true)
|
||||
initEvn()
|
||||
}
|
||||
|
||||
|
|
|
@ -220,8 +220,7 @@ object JsonUtils {
|
|||
try {
|
||||
taskJson?.let {
|
||||
val deviceJo = it.getJSONObject("device")
|
||||
LogUtils.e("deviceJo:$deviceJo")
|
||||
LogUtils.e("deviceJo sensor:${deviceJo.optJSONArray("sensor")}")
|
||||
// LogUtils.d("deviceJo:$deviceJo")
|
||||
val deviceParamJo: JSONObject = DeviceConvertUtil.MGConvert(deviceJo)
|
||||
if (it.has("isCollectURL")) {
|
||||
deviceJo.put("isCollectURL", true)
|
||||
|
|
Loading…
Reference in New Issue