当前位置:网站首页>Debug on TV screen
Debug on TV screen
2022-04-23 14:16:00 【Ruirui junior】
One : introduce debug.v3.js file
Two :debugLog(), amount to console.log()
debug.v3.js
(function() {
var opt = {
enable: true,
isMsgAppend: true, //false Every one of them log Insert information into panel Bottom
};
window.debugLog = debugLog;
if (!opt.enable) {
return false;
}
var debugHtml = '<div id="log-panel" class="scrollable" style="text-align: left;display:block;position: fixed; top: 0; left: 0; width: 800px;height:100%;overflow:auto; z-index: 99999; color: #13F713; background: rgba(0,0,0,0.7); padding:5px 0; text-decoration: none;"></div>';
document.body.innerHTML += debugHtml;
var panel = document.querySelector('#log-panel');
var logPanel = document.getElementById('log-panel');
function obj2str(value) { // Object to string
var valueType = "&
版权声明
本文为[Ruirui junior]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231408339188.html
边栏推荐
猜你喜欢
随机推荐
VMWare安装64位XP中文教程
Pass in external parameters to the main function in clion
Jira截取全图
mysql锁数据库锁
VMware15Pro在Deepin系统里面挂载真机电脑硬盘
Some good articles on pthread multithreading
win10自带Groove音乐不能播放CUE和APE文件的一种曲线救国办法,自己创建aimppack插件包,AIMP安装DSP插件
正则表达式
Operation instructions of star boundary automatic text translator (advanced version)
星界边境文本自动翻译机(高级版)使用说明
gif转为静态图片处理
在MAC上安装mysql
什么是云迁移?云迁移的四种模式分别是?
Operation instructions of star boundary text automatic translator
Understand the concepts of virtual base class, virtual function and pure virtual function (turn)
OpenStack如何跨版本升级
Installation and use of postman pit
ActiveMq基础知识
Postman的安装使用及填坑心得
postman批量生产body信息(实现批量修改数据)