当前位置:网站首页>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
边栏推荐
- Understand the concepts of virtual base class, virtual function and pure virtual function (turn)
- MySQL同步Could not find first log file name in binary log index file错误
- MySQL数据库讲解(十)
- KVM学习资源
- 金融行业云迁移实践 平安金融云整合HyperMotion云迁移解决方案,为金融行业客户提供迁移服务
- 微信小程序客服接入,实现发送和接收消息
- Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
- Recyclerview advanced use (II) - simple implementation of vertical drag and drop sorting
- Use the executors class to quickly create a thread pool
- 线程间控制之CountDownLatch和CyclicBarrier使用介绍
猜你喜欢

HyperBDR云容灾V3.3.0版本发布|容灾功能升级,资源组管理功能优化

How QT designer adds resource files

PySide2

Operation instructions of star boundary text automatic translator

Gartner预测云迁移规模大幅增长;云迁移的优势是什么?

HyperMotion云迁移助力中国联通,青云完成某央企上云项目,加速该集团核心业务系统上云进程

MySQL数据库讲解(十)

man man随记和crontab的@reboot用法

线程组ThreadGroup使用介绍+自定义线程工厂类实现ThreadFactory接口

postman批量生产body信息(实现批量修改数据)
随机推荐
数据库DbVisualizer Pro报文件错误,导致数据连接失败
Pass in external parameters to the main function in clion
mysql 5.1升级到5.68
Five ways of using synchronized to remove clouds and fog are introduced
关于云容灾,你需要知道这些
OpenStack如何跨版本升级
线程组ThreadGroup使用介绍+自定义线程工厂类实现ThreadFactory接口
贷款市场报价利率(LPR)与贷款基准利率介绍
Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
Use the executors class to quickly create a thread pool
Can I compile the header file and source file of the template separately
jsp学习3
How does void * exist?
squid代理
编译Openssl
微信小程序客服接入,实现发送和接收消息
在Clion中给主函数传入外部参数
百度笔试2022.4.12+编程题目:简单整数问题
mysql 5.1升级到5.67
容灾有疑问?点这里