调试窗
增加OBU Log日志开关
This commit is contained in:
@@ -60,6 +60,7 @@ import com.mogo.eagle.core.utilcode.util.*
|
||||
import com.mogo.map.MogoMap
|
||||
import com.mogo.map.uicontroller.VisualAngleMode
|
||||
import com.mogo.map.uicontroller.VisualAngleMode.*
|
||||
import com.zhidao.easysocket.utils.L
|
||||
import kotlinx.android.synthetic.main.view_debug_setting.view.*
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import mogo_msg.MogoReportMsg
|
||||
@@ -1039,6 +1040,13 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
MoGoAiCloudClientConfig.getInstance().isShowNetDebugLog = isChecked
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置是否输出OBU日志 true-打印日志,false-不打印日志
|
||||
*/
|
||||
tbObuLog.setOnCheckedChangeListener { _, isChecked ->
|
||||
L.setEnableLog(isChecked)
|
||||
}
|
||||
|
||||
cbTraceLog.isChecked = CallerDevaToolsManager.getTraceLogStatus()
|
||||
//链路Log输出日志
|
||||
cbTraceLog.setOnCheckedChangeListener { _, isChecked ->
|
||||
|
||||
@@ -1432,6 +1432,18 @@
|
||||
android:textSize="@dimen/dp_24"
|
||||
/>
|
||||
|
||||
<ToggleButton
|
||||
android:id="@+id/tbObuLog"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:textOff="打开「OBU」Log"
|
||||
android:textOn="关闭「OBU」Log"
|
||||
android:textSize="@dimen/dp_24"
|
||||
/>
|
||||
|
||||
|
||||
</com.google.android.flexbox.FlexboxLayout>
|
||||
|
||||
<com.google.android.flexbox.FlexboxLayout
|
||||
|
||||
Reference in New Issue
Block a user